@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
|
@@ -3902,7 +3902,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
3902
3902
|
}
|
|
3903
3903
|
return resourceParams;
|
|
3904
3904
|
}
|
|
3905
|
-
// engine version: 0.150.
|
|
3905
|
+
// engine version: 0.150.5-275045c5
|
|
3906
3906
|
|
|
3907
3907
|
/**
|
|
3908
3908
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4030,7 +4030,7 @@ function withDefaultLuvio(callback) {
|
|
|
4030
4030
|
}
|
|
4031
4031
|
callbacks.push(callback);
|
|
4032
4032
|
}
|
|
4033
|
-
// version: 1.
|
|
4033
|
+
// version: 1.245.0-0ea124370
|
|
4034
4034
|
|
|
4035
4035
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4036
4036
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15491,7 +15491,7 @@ function gql(literals, ...subs) {
|
|
|
15491
15491
|
}
|
|
15492
15492
|
return superResult;
|
|
15493
15493
|
}
|
|
15494
|
-
// version: 1.
|
|
15494
|
+
// version: 1.245.0-0ea124370
|
|
15495
15495
|
|
|
15496
15496
|
function unwrap(data) {
|
|
15497
15497
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16416,7 +16416,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16416
16416
|
const { apiFamily, name } = metadata;
|
|
16417
16417
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16418
16418
|
}
|
|
16419
|
-
// version: 1.
|
|
16419
|
+
// version: 1.245.0-0ea124370
|
|
16420
16420
|
|
|
16421
16421
|
/**
|
|
16422
16422
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16515,11 +16515,11 @@ var TypeCheckShapes;
|
|
|
16515
16515
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16516
16516
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16517
16517
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16518
|
-
// engine version: 0.150.
|
|
16518
|
+
// engine version: 0.150.5-275045c5
|
|
16519
16519
|
|
|
16520
16520
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16521
16521
|
|
|
16522
|
-
const { assign: assign$9, create: create$9, freeze: freeze$5, keys: keys$b } = Object;
|
|
16522
|
+
const { assign: assign$9, create: create$9, freeze: freeze$5, isFrozen: isFrozen$3, keys: keys$b } = Object;
|
|
16523
16523
|
|
|
16524
16524
|
ObjectCreate$3(null);
|
|
16525
16525
|
|
|
@@ -16888,9 +16888,9 @@ function buildAdapterValidationConfig$2(displayName, paramsMeta) {
|
|
|
16888
16888
|
}
|
|
16889
16889
|
};
|
|
16890
16890
|
}
|
|
16891
|
-
const keyPrefix$
|
|
16891
|
+
const keyPrefix$2 = 'UiApi';
|
|
16892
16892
|
|
|
16893
|
-
const { assign: assign$8, create: create$8, freeze: freeze$4, keys: keys$a } = Object;
|
|
16893
|
+
const { assign: assign$8, create: create$8, freeze: freeze$4, isFrozen: isFrozen$2, keys: keys$a } = Object;
|
|
16894
16894
|
const { hasOwnProperty: hasOwnProperty$1 } = Object.prototype;
|
|
16895
16895
|
const { split, endsWith } = String.prototype;
|
|
16896
16896
|
const { isArray: isArray$7 } = Array;
|
|
@@ -17103,7 +17103,7 @@ function assignMetadataLink$1(entry, metadataKey) {
|
|
|
17103
17103
|
entry['__metadata'] = createLink$3(metadataKey);
|
|
17104
17104
|
}
|
|
17105
17105
|
|
|
17106
|
-
const VERSION$1o = "
|
|
17106
|
+
const VERSION$1o = "d8917f62af39b67a54f8ff8cf7ea49c6";
|
|
17107
17107
|
const select$1W$1 = function ListColumnRepresentationSelect() {
|
|
17108
17108
|
return {
|
|
17109
17109
|
kind: 'Fragment',
|
|
@@ -17122,6 +17122,11 @@ const select$1W$1 = function ListColumnRepresentationSelect() {
|
|
|
17122
17122
|
name: 'lookupId',
|
|
17123
17123
|
kind: 'Scalar'
|
|
17124
17124
|
},
|
|
17125
|
+
{
|
|
17126
|
+
name: 'searchable',
|
|
17127
|
+
kind: 'Scalar',
|
|
17128
|
+
required: false
|
|
17129
|
+
},
|
|
17125
17130
|
{
|
|
17126
17131
|
name: 'sortable',
|
|
17127
17132
|
kind: 'Scalar'
|
|
@@ -17369,10 +17374,10 @@ const select$1N = function ListUserPreferenceRepresentationSelect() {
|
|
|
17369
17374
|
};
|
|
17370
17375
|
|
|
17371
17376
|
const TTL$y = 900000;
|
|
17372
|
-
const VERSION$1e = "
|
|
17377
|
+
const VERSION$1e = "6bd7c5a1bb955f37db137327c7d65f65";
|
|
17373
17378
|
const RepresentationType$R = 'ListInfoRepresentation';
|
|
17374
17379
|
function keyBuilder$1V(luvio, config) {
|
|
17375
|
-
return keyPrefix$
|
|
17380
|
+
return keyPrefix$2 + '::' + RepresentationType$R + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
|
|
17376
17381
|
}
|
|
17377
17382
|
function keyBuilderFromType$A(luvio, object) {
|
|
17378
17383
|
const keyParams = {
|
|
@@ -17463,6 +17468,11 @@ const select$1M = function ListInfoRepresentationSelect() {
|
|
|
17463
17468
|
selections: ListScopeRepresentation__selections,
|
|
17464
17469
|
required: false
|
|
17465
17470
|
},
|
|
17471
|
+
{
|
|
17472
|
+
name: 'searchable',
|
|
17473
|
+
kind: 'Scalar',
|
|
17474
|
+
required: false
|
|
17475
|
+
},
|
|
17466
17476
|
{
|
|
17467
17477
|
name: 'updateable',
|
|
17468
17478
|
kind: 'Scalar'
|
|
@@ -17499,7 +17509,7 @@ function getTypeCacheKeys$S$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17499
17509
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17500
17510
|
const rootKey = keyBuilderFromType$A(luvio, input);
|
|
17501
17511
|
rootKeySet.set(rootKey, {
|
|
17502
|
-
namespace: keyPrefix$
|
|
17512
|
+
namespace: keyPrefix$2,
|
|
17503
17513
|
representationName: RepresentationType$R,
|
|
17504
17514
|
mergeable: false
|
|
17505
17515
|
});
|
|
@@ -17678,7 +17688,7 @@ function getTypeCacheKeys$R$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17678
17688
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17679
17689
|
const rootKey = fullPathFactory();
|
|
17680
17690
|
rootKeySet.set(rootKey, {
|
|
17681
|
-
namespace: keyPrefix$
|
|
17691
|
+
namespace: keyPrefix$2,
|
|
17682
17692
|
representationName: RepresentationType$Q,
|
|
17683
17693
|
mergeable: false
|
|
17684
17694
|
});
|
|
@@ -17692,7 +17702,7 @@ const getTypeCacheKeys$Q$1 = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
17692
17702
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17693
17703
|
const rootKey = keyBuilderFromType$y(luvio, input);
|
|
17694
17704
|
rootKeySet.set(rootKey, {
|
|
17695
|
-
namespace: keyPrefix$
|
|
17705
|
+
namespace: keyPrefix$2,
|
|
17696
17706
|
representationName: RepresentationType$O,
|
|
17697
17707
|
mergeable: true,
|
|
17698
17708
|
});
|
|
@@ -17836,7 +17846,7 @@ function getTypeCacheKeys$P$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17836
17846
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17837
17847
|
const rootKey = fullPathFactory();
|
|
17838
17848
|
rootKeySet.set(rootKey, {
|
|
17839
|
-
namespace: keyPrefix$
|
|
17849
|
+
namespace: keyPrefix$2,
|
|
17840
17850
|
representationName: RepresentationType$P,
|
|
17841
17851
|
mergeable: false
|
|
17842
17852
|
});
|
|
@@ -17847,7 +17857,7 @@ function getTypeCacheKeys$P$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17847
17857
|
}
|
|
17848
17858
|
|
|
17849
17859
|
const VIEW_ENTITY_API_NAME = 'Name';
|
|
17850
|
-
const VIEW_ENTITY_KEY_PREFIX = `${keyPrefix$
|
|
17860
|
+
const VIEW_ENTITY_KEY_PREFIX = `${keyPrefix$2}::RecordViewEntityRepresentation:${VIEW_ENTITY_API_NAME}:`;
|
|
17851
17861
|
const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luvio, object) {
|
|
17852
17862
|
const { apiName, id } = object;
|
|
17853
17863
|
if (apiName === VIEW_ENTITY_API_NAME) {
|
|
@@ -17860,7 +17870,7 @@ const TTL$w = 30000;
|
|
|
17860
17870
|
const VERSION$1a$1 = "98c5b18512e48ca8d28727549507e4ba";
|
|
17861
17871
|
const RepresentationType$O = 'RecordRepresentation';
|
|
17862
17872
|
function keyBuilder$1U(luvio, config) {
|
|
17863
|
-
return keyPrefix$
|
|
17873
|
+
return keyPrefix$2 + '::' + RepresentationType$O + ':' + config.recordId;
|
|
17864
17874
|
}
|
|
17865
17875
|
function keyBuilderFromType$y(luvio, object) {
|
|
17866
17876
|
const keyParams = {
|
|
@@ -18098,7 +18108,7 @@ function getTypeCacheKeys$O$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
18098
18108
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
18099
18109
|
const rootKey = keyBuilderFromType$z(luvio, input);
|
|
18100
18110
|
rootKeySet.set(rootKey, {
|
|
18101
|
-
namespace: keyPrefix$
|
|
18111
|
+
namespace: keyPrefix$2,
|
|
18102
18112
|
representationName: RepresentationType$O,
|
|
18103
18113
|
mergeable: false
|
|
18104
18114
|
});
|
|
@@ -19679,7 +19689,7 @@ const CUSTOM_EXTERNAL_OBJECT_FIELD_SUFFIX = '__x';
|
|
|
19679
19689
|
const RECORD_REPRESENTATION_ERROR_VERSION = 'RECORD_REPRESENTATION_ERROR_VERSION_1';
|
|
19680
19690
|
const RECORD_REPRESENTATION_ERROR_STORE_METADATA_PARAMS = {
|
|
19681
19691
|
representationName: '',
|
|
19682
|
-
namespace: keyPrefix$
|
|
19692
|
+
namespace: keyPrefix$2,
|
|
19683
19693
|
ttl: TTL$w,
|
|
19684
19694
|
version: RECORD_REPRESENTATION_ERROR_VERSION,
|
|
19685
19695
|
};
|
|
@@ -19909,7 +19919,11 @@ function markNulledOutPath(record, path) {
|
|
|
19909
19919
|
}
|
|
19910
19920
|
const link = fieldValueRepresentation.link(fieldName);
|
|
19911
19921
|
const resolved = link.follow();
|
|
19912
|
-
if (isGraphNode(resolved) &&
|
|
19922
|
+
if (isGraphNode(resolved) &&
|
|
19923
|
+
resolved.isScalar('value') &&
|
|
19924
|
+
path.length > 0 &&
|
|
19925
|
+
// TODO [W-14082782]: temporary fix
|
|
19926
|
+
!isFrozen$2(link.data)) {
|
|
19913
19927
|
const linkState = link.linkData();
|
|
19914
19928
|
const fields = linkState === undefined ? [] : linkState.fields;
|
|
19915
19929
|
link.writeLinkData({
|
|
@@ -20378,7 +20392,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
20378
20392
|
luvio.publishStoreMetadata(key, {
|
|
20379
20393
|
ttl: TTL$w,
|
|
20380
20394
|
representationName: RepresentationType$O,
|
|
20381
|
-
namespace: keyPrefix$
|
|
20395
|
+
namespace: keyPrefix$2,
|
|
20382
20396
|
version: VERSION$1a$1,
|
|
20383
20397
|
});
|
|
20384
20398
|
return createLink$3(key);
|
|
@@ -20880,7 +20894,7 @@ function createChildResourceParams$b(resourceParams) {
|
|
|
20880
20894
|
return childConfigs;
|
|
20881
20895
|
}
|
|
20882
20896
|
function keyBuilder$1S(luvio, params) {
|
|
20883
|
-
return keyPrefix$
|
|
20897
|
+
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 + ')';
|
|
20884
20898
|
}
|
|
20885
20899
|
function getResponseCacheKeys$U(keys, luvio, resourceParams, response) {
|
|
20886
20900
|
const childEnvelopes = response.results;
|
|
@@ -20896,7 +20910,7 @@ function getResponseCacheKeys$U(keys, luvio, resourceParams, response) {
|
|
|
20896
20910
|
else if (childStatusCode === 404) {
|
|
20897
20911
|
const childKey = keyBuilder$1T(luvio, childResourceParams);
|
|
20898
20912
|
keys.set(childKey, {
|
|
20899
|
-
namespace: keyPrefix$
|
|
20913
|
+
namespace: keyPrefix$2,
|
|
20900
20914
|
representationName: RepresentationType$O,
|
|
20901
20915
|
mergeable: false
|
|
20902
20916
|
});
|
|
@@ -21177,7 +21191,7 @@ const TTL$v = 30000;
|
|
|
21177
21191
|
const VERSION$18$1 = "614ef19823027c07fa6deb9a149619d2";
|
|
21178
21192
|
const RepresentationType$N = 'ListRecordCollectionRepresentation';
|
|
21179
21193
|
function keyBuilder$1R(luvio, config) {
|
|
21180
|
-
return keyPrefix$
|
|
21194
|
+
return keyPrefix$2 + '::' + RepresentationType$N + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + config.objectApiName + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
|
|
21181
21195
|
}
|
|
21182
21196
|
function keyBuilderFromType$x(luvio, object) {
|
|
21183
21197
|
const keyParams = {
|
|
@@ -21566,12 +21580,12 @@ function getTypeCacheKeys$N$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21566
21580
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
21567
21581
|
const rootKey = keyBuilderFromType$x(luvio, input);
|
|
21568
21582
|
rootKeySet.set(rootKey, {
|
|
21569
|
-
namespace: keyPrefix$
|
|
21583
|
+
namespace: keyPrefix$2,
|
|
21570
21584
|
representationName: RepresentationType$N,
|
|
21571
21585
|
mergeable: true
|
|
21572
21586
|
});
|
|
21573
21587
|
rootKeySet.set(rootKey + '__pagination', {
|
|
21574
|
-
namespace: keyPrefix$
|
|
21588
|
+
namespace: keyPrefix$2,
|
|
21575
21589
|
representationName: RepresentationType$N,
|
|
21576
21590
|
mergeable: true
|
|
21577
21591
|
});
|
|
@@ -21584,7 +21598,7 @@ function getTypeCacheKeys$N$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21584
21598
|
const VERSION$17$1 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
21585
21599
|
const RepresentationType$M = 'ListUiRepresentation';
|
|
21586
21600
|
function keyBuilder$1Q(luvio, config) {
|
|
21587
|
-
return keyPrefix$
|
|
21601
|
+
return keyPrefix$2 + '::' + RepresentationType$M + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']');
|
|
21588
21602
|
}
|
|
21589
21603
|
function keyBuilderFromType$w(luvio, object) {
|
|
21590
21604
|
const keyParams = {
|
|
@@ -21673,7 +21687,7 @@ function getTypeCacheKeys$M$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21673
21687
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
21674
21688
|
const rootKey = keyBuilderFromType$w(luvio, input);
|
|
21675
21689
|
rootKeySet.set(rootKey, {
|
|
21676
|
-
namespace: keyPrefix$
|
|
21690
|
+
namespace: keyPrefix$2,
|
|
21677
21691
|
representationName: RepresentationType$M,
|
|
21678
21692
|
mergeable: false
|
|
21679
21693
|
});
|
|
@@ -21878,8 +21892,8 @@ function buildDefaultsKey(listRef) {
|
|
|
21878
21892
|
*/
|
|
21879
21893
|
function addServerDefaults(config, records, listReference, context) {
|
|
21880
21894
|
// If the request already contains the potential default information,
|
|
21881
|
-
// or the response does not come back with a default
|
|
21882
|
-
if (config.sortBy !== undefined || records.sortBy === null) {
|
|
21895
|
+
// or the response does not come back with a default or comes back wih an empty array []
|
|
21896
|
+
if ((config.sortBy !== undefined && config.sortBy.length > 0) || records.sortBy === null) {
|
|
21883
21897
|
return;
|
|
21884
21898
|
}
|
|
21885
21899
|
const key = buildDefaultsKey(listReference);
|
|
@@ -22037,11 +22051,14 @@ function keyBuilder$1P(luvio, params) {
|
|
|
22037
22051
|
// Check and use any default values returned from the server (i.e. sortBy)
|
|
22038
22052
|
const config = { ...params.urlParams, ...params.queryParams };
|
|
22039
22053
|
const defaults = getServerDefaults(config, context$2);
|
|
22054
|
+
// Use default values when sortBy is undefined or an empty Array []
|
|
22040
22055
|
return keyBuilder$1R(luvio, {
|
|
22041
22056
|
objectApiName: listReference.objectApiName,
|
|
22042
22057
|
listViewApiName: listReference.listViewApiName,
|
|
22043
22058
|
listViewId: listReference.id,
|
|
22044
|
-
sortBy: params.queryParams.sortBy
|
|
22059
|
+
sortBy: params.queryParams.sortBy !== undefined && params.queryParams.sortBy.length <= 0
|
|
22060
|
+
? defaults.sortBy || params.queryParams.sortBy || []
|
|
22061
|
+
: params.queryParams.sortBy || defaults.sortBy || [],
|
|
22045
22062
|
});
|
|
22046
22063
|
}
|
|
22047
22064
|
// If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
|
|
@@ -22112,7 +22129,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
22112
22129
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22113
22130
|
const storeMetadataParams = {
|
|
22114
22131
|
ttl: TTL$v,
|
|
22115
|
-
namespace: keyPrefix$
|
|
22132
|
+
namespace: keyPrefix$2,
|
|
22116
22133
|
version: VERSION$18$1,
|
|
22117
22134
|
representationName: RepresentationType$N
|
|
22118
22135
|
};
|
|
@@ -22189,7 +22206,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
22189
22206
|
const VERSION$16$1 = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
22190
22207
|
const RepresentationType$L = 'ListViewSummaryRepresentation';
|
|
22191
22208
|
function keyBuilder$1O(luvio, config) {
|
|
22192
|
-
return keyPrefix$
|
|
22209
|
+
return keyPrefix$2 + '::' + RepresentationType$L + ':' + (config.id === null ? '' : config.id);
|
|
22193
22210
|
}
|
|
22194
22211
|
function keyBuilderFromType$v(luvio, object) {
|
|
22195
22212
|
const keyParams = {
|
|
@@ -22258,7 +22275,7 @@ function getTypeCacheKeys$L$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22258
22275
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
22259
22276
|
const rootKey = keyBuilderFromType$v(luvio, input);
|
|
22260
22277
|
rootKeySet.set(rootKey, {
|
|
22261
|
-
namespace: keyPrefix$
|
|
22278
|
+
namespace: keyPrefix$2,
|
|
22262
22279
|
representationName: RepresentationType$L,
|
|
22263
22280
|
mergeable: false
|
|
22264
22281
|
});
|
|
@@ -22267,7 +22284,7 @@ function getTypeCacheKeys$L$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22267
22284
|
const VERSION$15$1 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
22268
22285
|
const RepresentationType$K = 'ListViewSummaryCollectionRepresentation';
|
|
22269
22286
|
function keyBuilder$1N(luvio, config) {
|
|
22270
|
-
return keyPrefix$
|
|
22287
|
+
return keyPrefix$2 + '::' + RepresentationType$K + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
|
|
22271
22288
|
}
|
|
22272
22289
|
function keyBuilderFromType$u(luvio, object) {
|
|
22273
22290
|
const keyParams = {
|
|
@@ -22529,12 +22546,12 @@ function getTypeCacheKeys$K$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22529
22546
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
22530
22547
|
const rootKey = keyBuilderFromType$u(luvio, input);
|
|
22531
22548
|
rootKeySet.set(rootKey, {
|
|
22532
|
-
namespace: keyPrefix$
|
|
22549
|
+
namespace: keyPrefix$2,
|
|
22533
22550
|
representationName: RepresentationType$K,
|
|
22534
22551
|
mergeable: true
|
|
22535
22552
|
});
|
|
22536
22553
|
rootKeySet.set(rootKey + '__pagination', {
|
|
22537
|
-
namespace: keyPrefix$
|
|
22554
|
+
namespace: keyPrefix$2,
|
|
22538
22555
|
representationName: RepresentationType$K,
|
|
22539
22556
|
mergeable: true
|
|
22540
22557
|
});
|
|
@@ -23146,7 +23163,7 @@ const factory$h = (luvio) => function getMruListUi(untrustedConfig, requestConte
|
|
|
23146
23163
|
: processListInfo(listInfoPromiseOrSnapshot);
|
|
23147
23164
|
};
|
|
23148
23165
|
|
|
23149
|
-
const contextId$6 = `${keyPrefix$
|
|
23166
|
+
const contextId$6 = `${keyPrefix$2}__getListUi`;
|
|
23150
23167
|
// eslint-disable-next-line @salesforce/lds/no-invalid-todo
|
|
23151
23168
|
// TODO RAML - this more properly goes in the generated resource files
|
|
23152
23169
|
const DEFAULT_PAGE_SIZE = 50;
|
|
@@ -23582,7 +23599,7 @@ const TTL$u = 900000;
|
|
|
23582
23599
|
const VERSION$14$1 = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
23583
23600
|
const RepresentationType$J = 'ObjectInfoRepresentation';
|
|
23584
23601
|
function keyBuilder$1J(luvio, config) {
|
|
23585
|
-
return keyPrefix$
|
|
23602
|
+
return keyPrefix$2 + '::' + RepresentationType$J + ':' + config.apiName;
|
|
23586
23603
|
}
|
|
23587
23604
|
function keyBuilderFromType$t(luvio, object) {
|
|
23588
23605
|
const keyParams = {
|
|
@@ -23714,7 +23731,7 @@ function getTypeCacheKeys$J$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23714
23731
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
23715
23732
|
const rootKey = keyBuilderFromType$t(luvio, input);
|
|
23716
23733
|
rootKeySet.set(rootKey, {
|
|
23717
|
-
namespace: keyPrefix$
|
|
23734
|
+
namespace: keyPrefix$2,
|
|
23718
23735
|
representationName: RepresentationType$J,
|
|
23719
23736
|
mergeable: false
|
|
23720
23737
|
});
|
|
@@ -23748,7 +23765,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
23748
23765
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
23749
23766
|
const storeMetadataParams = {
|
|
23750
23767
|
ttl: TTL$u,
|
|
23751
|
-
namespace: keyPrefix$
|
|
23768
|
+
namespace: keyPrefix$2,
|
|
23752
23769
|
version: VERSION$14$1,
|
|
23753
23770
|
representationName: RepresentationType$J
|
|
23754
23771
|
};
|
|
@@ -23867,7 +23884,7 @@ const TTL$t = 900000;
|
|
|
23867
23884
|
const VERSION$13$1 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
23868
23885
|
const RepresentationType$I = 'RecordLayoutRepresentation';
|
|
23869
23886
|
function keyBuilder$1G(luvio, config) {
|
|
23870
|
-
return keyPrefix$
|
|
23887
|
+
return keyPrefix$2 + '::' + RepresentationType$I + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
|
|
23871
23888
|
}
|
|
23872
23889
|
function keyBuilderFromType$s(luvio, object) {
|
|
23873
23890
|
const keyParams = {
|
|
@@ -23938,7 +23955,7 @@ function getTypeCacheKeys$I$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23938
23955
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
23939
23956
|
const rootKey = keyBuilderFromType$s(luvio, input);
|
|
23940
23957
|
rootKeySet.set(rootKey, {
|
|
23941
|
-
namespace: keyPrefix$
|
|
23958
|
+
namespace: keyPrefix$2,
|
|
23942
23959
|
representationName: RepresentationType$I,
|
|
23943
23960
|
mergeable: false
|
|
23944
23961
|
});
|
|
@@ -23970,7 +23987,7 @@ const TTL$s = 900000;
|
|
|
23970
23987
|
const VERSION$12$1 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
23971
23988
|
const RepresentationType$H = 'RecordLayoutUserStateRepresentation';
|
|
23972
23989
|
function keyBuilder$1F(luvio, config) {
|
|
23973
|
-
return keyPrefix$
|
|
23990
|
+
return keyPrefix$2 + '::' + RepresentationType$H + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
|
|
23974
23991
|
}
|
|
23975
23992
|
function keyBuilderFromType$r(luvio, object) {
|
|
23976
23993
|
const keyParams = {
|
|
@@ -24023,7 +24040,7 @@ function getTypeCacheKeys$H$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
24023
24040
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
24024
24041
|
const rootKey = keyBuilderFromType$r(luvio, input);
|
|
24025
24042
|
rootKeySet.set(rootKey, {
|
|
24026
|
-
namespace: keyPrefix$
|
|
24043
|
+
namespace: keyPrefix$2,
|
|
24027
24044
|
representationName: RepresentationType$H,
|
|
24028
24045
|
mergeable: false
|
|
24029
24046
|
});
|
|
@@ -24450,7 +24467,7 @@ const RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION = 'RECORD_UI_ERROR_STORE_MET
|
|
|
24450
24467
|
const RECORD_UI_ERROR_STORE_METADATA_PARAMS = {
|
|
24451
24468
|
ttl: TTL$r,
|
|
24452
24469
|
representationName: '',
|
|
24453
|
-
namespace: keyPrefix$
|
|
24470
|
+
namespace: keyPrefix$2,
|
|
24454
24471
|
version: RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION,
|
|
24455
24472
|
};
|
|
24456
24473
|
const RECORD_UI_CACHED_SELECTOR_VERSION = 'RECORD_UI_CACHED_SELECTOR_VERSION_1';
|
|
@@ -24499,7 +24516,7 @@ function keyBuilder$1E(recordIds, layoutTypes, modes, optionalFields) {
|
|
|
24499
24516
|
const joinedOptionalFields = optionalFields.sort().join(',');
|
|
24500
24517
|
const joinedLayoutTypes = layoutTypes.sort().join(',');
|
|
24501
24518
|
const joinedModes = modes.sort().join(',');
|
|
24502
|
-
return `${keyPrefix$
|
|
24519
|
+
return `${keyPrefix$2}::RecordUiRepresentation:${joinedRecordIds}:${joinedLayoutTypes}:${joinedModes}:${joinedOptionalFields}`;
|
|
24503
24520
|
}
|
|
24504
24521
|
function buildSnapshotRefresh$4(luvio, config) {
|
|
24505
24522
|
return {
|
|
@@ -25186,7 +25203,7 @@ function runSnapshotOrPromise(promiseOrSnapshot, next) {
|
|
|
25186
25203
|
}
|
|
25187
25204
|
}
|
|
25188
25205
|
|
|
25189
|
-
const contextId$5 = `${keyPrefix$
|
|
25206
|
+
const contextId$5 = `${keyPrefix$2}__${adapterName$X}`;
|
|
25190
25207
|
// Custom adapter config due to `unsupported` items
|
|
25191
25208
|
const GET_RECORD_ADAPTER_CONFIG = {
|
|
25192
25209
|
displayName: 'getRecord',
|
|
@@ -25312,7 +25329,7 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
|
25312
25329
|
const VERSION$10$1 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
25313
25330
|
const RepresentationType$F = 'QuickActionExecutionRepresentation';
|
|
25314
25331
|
function keyBuilder$1D(luvio, config) {
|
|
25315
|
-
return keyPrefix$
|
|
25332
|
+
return keyPrefix$2 + '::' + RepresentationType$F + ':' + config.id;
|
|
25316
25333
|
}
|
|
25317
25334
|
function keyBuilderFromType$q(luvio, object) {
|
|
25318
25335
|
const keyParams = {
|
|
@@ -25406,7 +25423,7 @@ function getTypeCacheKeys$G$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
25406
25423
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25407
25424
|
const rootKey = keyBuilderFromType$q(luvio, input);
|
|
25408
25425
|
rootKeySet.set(rootKey, {
|
|
25409
|
-
namespace: keyPrefix$
|
|
25426
|
+
namespace: keyPrefix$2,
|
|
25410
25427
|
representationName: RepresentationType$F,
|
|
25411
25428
|
mergeable: false
|
|
25412
25429
|
});
|
|
@@ -25416,7 +25433,7 @@ const TTL$q = 900000;
|
|
|
25416
25433
|
const VERSION$$$1 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
25417
25434
|
const RepresentationType$E = 'QuickActionDefaultsRepresentation';
|
|
25418
25435
|
function keyBuilder$1C(luvio, config) {
|
|
25419
|
-
return keyPrefix$
|
|
25436
|
+
return keyPrefix$2 + '::' + RepresentationType$E + ':' + config.actionApiName;
|
|
25420
25437
|
}
|
|
25421
25438
|
function keyBuilderFromType$p(luvio, object) {
|
|
25422
25439
|
const keyParams = {
|
|
@@ -25506,7 +25523,7 @@ function getTypeCacheKeys$F$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
25506
25523
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25507
25524
|
const rootKey = keyBuilderFromType$p(luvio, input);
|
|
25508
25525
|
rootKeySet.set(rootKey, {
|
|
25509
|
-
namespace: keyPrefix$
|
|
25526
|
+
namespace: keyPrefix$2,
|
|
25510
25527
|
representationName: RepresentationType$E,
|
|
25511
25528
|
mergeable: false
|
|
25512
25529
|
});
|
|
@@ -25550,7 +25567,7 @@ function coerceFormFactor(form) {
|
|
|
25550
25567
|
const VERSION$_$1 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
25551
25568
|
const RepresentationType$D = 'PlatformActionRepresentation';
|
|
25552
25569
|
function keyBuilder$1B(luvio, config) {
|
|
25553
|
-
return keyPrefix$
|
|
25570
|
+
return keyPrefix$2 + '::' + RepresentationType$D + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
|
|
25554
25571
|
}
|
|
25555
25572
|
function keyBuilderFromType$o(luvio, object) {
|
|
25556
25573
|
const keyParams = {
|
|
@@ -25754,7 +25771,7 @@ function getTypeCacheKeys$E$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
25754
25771
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25755
25772
|
const rootKey = keyBuilderFromType$o(luvio, input);
|
|
25756
25773
|
rootKeySet.set(rootKey, {
|
|
25757
|
-
namespace: keyPrefix$
|
|
25774
|
+
namespace: keyPrefix$2,
|
|
25758
25775
|
representationName: RepresentationType$D,
|
|
25759
25776
|
mergeable: false
|
|
25760
25777
|
});
|
|
@@ -25763,7 +25780,7 @@ function getTypeCacheKeys$E$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
25763
25780
|
const VERSION$Z$1 = "378d506f563a4bd724b322d440df33d1";
|
|
25764
25781
|
const RepresentationType$C = 'EntityActionRepresentation';
|
|
25765
25782
|
function keyBuilder$1A(luvio, config) {
|
|
25766
|
-
return keyPrefix$
|
|
25783
|
+
return keyPrefix$2 + '::' + RepresentationType$C + ':' + config.url;
|
|
25767
25784
|
}
|
|
25768
25785
|
function keyBuilderFromType$n(luvio, object) {
|
|
25769
25786
|
const keyParams = {
|
|
@@ -25846,7 +25863,7 @@ function getTypeCacheKeys$D$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
25846
25863
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25847
25864
|
const rootKey = keyBuilderFromType$n(luvio, input);
|
|
25848
25865
|
rootKeySet.set(rootKey, {
|
|
25849
|
-
namespace: keyPrefix$
|
|
25866
|
+
namespace: keyPrefix$2,
|
|
25850
25867
|
representationName: RepresentationType$C,
|
|
25851
25868
|
mergeable: false
|
|
25852
25869
|
});
|
|
@@ -25932,7 +25949,7 @@ function getTypeCacheKeys$C$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
25932
25949
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25933
25950
|
const rootKey = fullPathFactory();
|
|
25934
25951
|
rootKeySet.set(rootKey, {
|
|
25935
|
-
namespace: keyPrefix$
|
|
25952
|
+
namespace: keyPrefix$2,
|
|
25936
25953
|
representationName: RepresentationType$B,
|
|
25937
25954
|
mergeable: false
|
|
25938
25955
|
});
|
|
@@ -25949,7 +25966,7 @@ function select$1u(luvio, params) {
|
|
|
25949
25966
|
return select$1v();
|
|
25950
25967
|
}
|
|
25951
25968
|
function keyBuilder$1z(luvio, params) {
|
|
25952
|
-
return keyPrefix$
|
|
25969
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
|
|
25953
25970
|
}
|
|
25954
25971
|
function getResponseCacheKeys$Q(storeKeyMap, luvio, resourceParams, response) {
|
|
25955
25972
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1z(luvio, resourceParams));
|
|
@@ -25971,7 +25988,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
25971
25988
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
25972
25989
|
const storeMetadataParams = {
|
|
25973
25990
|
ttl: TTL$p,
|
|
25974
|
-
namespace: keyPrefix$
|
|
25991
|
+
namespace: keyPrefix$2,
|
|
25975
25992
|
version: VERSION$Y$1,
|
|
25976
25993
|
representationName: RepresentationType$B
|
|
25977
25994
|
};
|
|
@@ -26084,7 +26101,7 @@ const TTL$o = 900000;
|
|
|
26084
26101
|
const VERSION$X$1 = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
26085
26102
|
const RepresentationType$A = 'QuickActionLayoutRepresentation';
|
|
26086
26103
|
function keyBuilder$1x(luvio, config) {
|
|
26087
|
-
return keyPrefix$
|
|
26104
|
+
return keyPrefix$2 + '::' + RepresentationType$A + ':' + config.actionApiName;
|
|
26088
26105
|
}
|
|
26089
26106
|
function keyBuilderFromType$m(luvio, object) {
|
|
26090
26107
|
const keyParams = {
|
|
@@ -26131,7 +26148,7 @@ function getTypeCacheKeys$B$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
26131
26148
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
26132
26149
|
const rootKey = keyBuilderFromType$m(luvio, input);
|
|
26133
26150
|
rootKeySet.set(rootKey, {
|
|
26134
|
-
namespace: keyPrefix$
|
|
26151
|
+
namespace: keyPrefix$2,
|
|
26135
26152
|
representationName: RepresentationType$A,
|
|
26136
26153
|
mergeable: false
|
|
26137
26154
|
});
|
|
@@ -26165,7 +26182,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
|
26165
26182
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26166
26183
|
const storeMetadataParams = {
|
|
26167
26184
|
ttl: TTL$o,
|
|
26168
|
-
namespace: keyPrefix$
|
|
26185
|
+
namespace: keyPrefix$2,
|
|
26169
26186
|
version: VERSION$X$1,
|
|
26170
26187
|
representationName: RepresentationType$A
|
|
26171
26188
|
};
|
|
@@ -26305,7 +26322,7 @@ function select$1r(luvio, params) {
|
|
|
26305
26322
|
return select$1v();
|
|
26306
26323
|
}
|
|
26307
26324
|
function keyBuilder$1u(luvio, params) {
|
|
26308
|
-
return keyPrefix$
|
|
26325
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
26309
26326
|
}
|
|
26310
26327
|
function getResponseCacheKeys$O(storeKeyMap, luvio, resourceParams, response) {
|
|
26311
26328
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1u(luvio, resourceParams));
|
|
@@ -26327,7 +26344,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
26327
26344
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26328
26345
|
const storeMetadataParams = {
|
|
26329
26346
|
ttl: TTL$p,
|
|
26330
|
-
namespace: keyPrefix$
|
|
26347
|
+
namespace: keyPrefix$2,
|
|
26331
26348
|
version: VERSION$Y$1,
|
|
26332
26349
|
representationName: RepresentationType$B
|
|
26333
26350
|
};
|
|
@@ -26439,7 +26456,7 @@ function select$1q(luvio, params) {
|
|
|
26439
26456
|
return select$1v();
|
|
26440
26457
|
}
|
|
26441
26458
|
function keyBuilder$1s(luvio, params) {
|
|
26442
|
-
return keyPrefix$
|
|
26459
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
26443
26460
|
}
|
|
26444
26461
|
function getResponseCacheKeys$N(storeKeyMap, luvio, resourceParams, response) {
|
|
26445
26462
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1s(luvio, resourceParams));
|
|
@@ -26461,7 +26478,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
|
26461
26478
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26462
26479
|
const storeMetadataParams = {
|
|
26463
26480
|
ttl: TTL$p,
|
|
26464
|
-
namespace: keyPrefix$
|
|
26481
|
+
namespace: keyPrefix$2,
|
|
26465
26482
|
version: VERSION$Y$1,
|
|
26466
26483
|
representationName: RepresentationType$B
|
|
26467
26484
|
};
|
|
@@ -26598,7 +26615,7 @@ function getTypeCacheKeys$A$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
26598
26615
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
26599
26616
|
const rootKey = fullPathFactory();
|
|
26600
26617
|
rootKeySet.set(rootKey, {
|
|
26601
|
-
namespace: keyPrefix$
|
|
26618
|
+
namespace: keyPrefix$2,
|
|
26602
26619
|
representationName: RepresentationType$z,
|
|
26603
26620
|
mergeable: false
|
|
26604
26621
|
});
|
|
@@ -26608,7 +26625,7 @@ function select$1o(luvio, params) {
|
|
|
26608
26625
|
return select$1p();
|
|
26609
26626
|
}
|
|
26610
26627
|
function keyBuilder$1q(luvio, params) {
|
|
26611
|
-
return keyPrefix$
|
|
26628
|
+
return keyPrefix$2 + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
26612
26629
|
}
|
|
26613
26630
|
function getResponseCacheKeys$M(storeKeyMap, luvio, resourceParams, response) {
|
|
26614
26631
|
getTypeCacheKeys$A$1(storeKeyMap, luvio, response, () => keyBuilder$1q(luvio, resourceParams));
|
|
@@ -26732,7 +26749,7 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
|
|
|
26732
26749
|
|
|
26733
26750
|
const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS = {
|
|
26734
26751
|
ttl: TTL$q,
|
|
26735
|
-
namespace: keyPrefix$
|
|
26752
|
+
namespace: keyPrefix$2,
|
|
26736
26753
|
representationName: RepresentationType$E,
|
|
26737
26754
|
version: VERSION$$$1,
|
|
26738
26755
|
};
|
|
@@ -26823,7 +26840,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
26823
26840
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26824
26841
|
const storeMetadataParams = {
|
|
26825
26842
|
ttl: TTL$q,
|
|
26826
|
-
namespace: keyPrefix$
|
|
26843
|
+
namespace: keyPrefix$2,
|
|
26827
26844
|
version: VERSION$$$1,
|
|
26828
26845
|
representationName: RepresentationType$E
|
|
26829
26846
|
};
|
|
@@ -26957,7 +26974,7 @@ function select$1n(luvio, params) {
|
|
|
26957
26974
|
return select$1v();
|
|
26958
26975
|
}
|
|
26959
26976
|
function keyBuilder$1m(luvio, params) {
|
|
26960
|
-
return keyPrefix$
|
|
26977
|
+
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 + ')';
|
|
26961
26978
|
}
|
|
26962
26979
|
function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
|
|
26963
26980
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1m(luvio, resourceParams));
|
|
@@ -26979,7 +26996,7 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
|
26979
26996
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26980
26997
|
const storeMetadataParams = {
|
|
26981
26998
|
ttl: TTL$p,
|
|
26982
|
-
namespace: keyPrefix$
|
|
26999
|
+
namespace: keyPrefix$2,
|
|
26983
27000
|
version: VERSION$Y$1,
|
|
26984
27001
|
representationName: RepresentationType$B
|
|
26985
27002
|
};
|
|
@@ -27097,7 +27114,7 @@ function select$1m(luvio, params) {
|
|
|
27097
27114
|
return select$1v();
|
|
27098
27115
|
}
|
|
27099
27116
|
function keyBuilder$1k(luvio, params) {
|
|
27100
|
-
return keyPrefix$
|
|
27117
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
27101
27118
|
}
|
|
27102
27119
|
function getResponseCacheKeys$J(storeKeyMap, luvio, resourceParams, response) {
|
|
27103
27120
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1k(luvio, resourceParams));
|
|
@@ -27119,7 +27136,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
27119
27136
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27120
27137
|
const storeMetadataParams = {
|
|
27121
27138
|
ttl: TTL$p,
|
|
27122
|
-
namespace: keyPrefix$
|
|
27139
|
+
namespace: keyPrefix$2,
|
|
27123
27140
|
version: VERSION$Y$1,
|
|
27124
27141
|
representationName: RepresentationType$B
|
|
27125
27142
|
};
|
|
@@ -27227,7 +27244,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
27227
27244
|
buildCachedSnapshotCachePolicy$B, buildNetworkSnapshotCachePolicy$B);
|
|
27228
27245
|
};
|
|
27229
27246
|
|
|
27230
|
-
function validate$
|
|
27247
|
+
function validate$1a(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
27231
27248
|
const v_error = (() => {
|
|
27232
27249
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
27233
27250
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27301,7 +27318,7 @@ function select$1l(luvio, params) {
|
|
|
27301
27318
|
return select$1v();
|
|
27302
27319
|
}
|
|
27303
27320
|
function keyBuilder$1i(luvio, params) {
|
|
27304
|
-
return keyPrefix$
|
|
27321
|
+
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) + ')';
|
|
27305
27322
|
}
|
|
27306
27323
|
function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
|
|
27307
27324
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1i(luvio, resourceParams));
|
|
@@ -27323,7 +27340,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
|
27323
27340
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27324
27341
|
const storeMetadataParams = {
|
|
27325
27342
|
ttl: TTL$p,
|
|
27326
|
-
namespace: keyPrefix$
|
|
27343
|
+
namespace: keyPrefix$2,
|
|
27327
27344
|
version: VERSION$Y$1,
|
|
27328
27345
|
representationName: RepresentationType$B
|
|
27329
27346
|
};
|
|
@@ -27490,7 +27507,7 @@ function select$1k(luvio, resourceParams) {
|
|
|
27490
27507
|
return selectChildResourceParams$6(luvio, childResources, resourceParams);
|
|
27491
27508
|
}
|
|
27492
27509
|
function keyBuilder$1h(luvio, params) {
|
|
27493
|
-
return keyPrefix$
|
|
27510
|
+
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(',') + ']' + ')';
|
|
27494
27511
|
}
|
|
27495
27512
|
function getResponseCacheKeys$H(keys, luvio, resourceParams, response) {
|
|
27496
27513
|
const childEnvelopes = response.results;
|
|
@@ -27506,7 +27523,7 @@ function getResponseCacheKeys$H(keys, luvio, resourceParams, response) {
|
|
|
27506
27523
|
else if (childStatusCode === 404) {
|
|
27507
27524
|
const childKey = keyBuilder$1i(luvio, childResourceParams);
|
|
27508
27525
|
keys.set(childKey, {
|
|
27509
|
-
namespace: keyPrefix$
|
|
27526
|
+
namespace: keyPrefix$2,
|
|
27510
27527
|
representationName: RepresentationType$B,
|
|
27511
27528
|
mergeable: false
|
|
27512
27529
|
});
|
|
@@ -27638,7 +27655,7 @@ function typeCheckConfig$N(untrustedConfig) {
|
|
|
27638
27655
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
27639
27656
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
27640
27657
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
27641
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
27658
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1a(untrustedConfig_relatedListsActionParameters_item);
|
|
27642
27659
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
27643
27660
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
27644
27661
|
}
|
|
@@ -27810,7 +27827,7 @@ function select$1j(luvio, params) {
|
|
|
27810
27827
|
return select$1v();
|
|
27811
27828
|
}
|
|
27812
27829
|
function keyBuilder$1e(luvio, params) {
|
|
27813
|
-
return keyPrefix$
|
|
27830
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
|
|
27814
27831
|
}
|
|
27815
27832
|
function getResponseCacheKeys$G(storeKeyMap, luvio, resourceParams, response) {
|
|
27816
27833
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1e(luvio, resourceParams));
|
|
@@ -27832,7 +27849,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
27832
27849
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27833
27850
|
const storeMetadataParams = {
|
|
27834
27851
|
ttl: TTL$p,
|
|
27835
|
-
namespace: keyPrefix$
|
|
27852
|
+
namespace: keyPrefix$2,
|
|
27836
27853
|
version: VERSION$Y$1,
|
|
27837
27854
|
representationName: RepresentationType$B
|
|
27838
27855
|
};
|
|
@@ -27970,7 +27987,7 @@ function getTypeCacheKeys$z$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
27970
27987
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
27971
27988
|
const rootKey = fullPathFactory();
|
|
27972
27989
|
rootKeySet.set(rootKey, {
|
|
27973
|
-
namespace: keyPrefix$
|
|
27990
|
+
namespace: keyPrefix$2,
|
|
27974
27991
|
representationName: RepresentationType$y,
|
|
27975
27992
|
mergeable: false
|
|
27976
27993
|
});
|
|
@@ -27980,7 +27997,7 @@ const TTL$n = 120000;
|
|
|
27980
27997
|
const VERSION$U$1 = "09884ca5bf90ea4662092a4e48817081";
|
|
27981
27998
|
const RepresentationType$x = 'NavItemRepresentation';
|
|
27982
27999
|
function keyBuilder$1c(luvio, config) {
|
|
27983
|
-
return keyPrefix$
|
|
28000
|
+
return keyPrefix$2 + '::' + RepresentationType$x + ':' + config.developerName;
|
|
27984
28001
|
}
|
|
27985
28002
|
function keyBuilderFromType$l(luvio, object) {
|
|
27986
28003
|
const keyParams = {
|
|
@@ -28169,7 +28186,7 @@ function getTypeCacheKeys$y$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
28169
28186
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28170
28187
|
const rootKey = keyBuilderFromType$l(luvio, input);
|
|
28171
28188
|
rootKeySet.set(rootKey, {
|
|
28172
|
-
namespace: keyPrefix$
|
|
28189
|
+
namespace: keyPrefix$2,
|
|
28173
28190
|
representationName: RepresentationType$x,
|
|
28174
28191
|
mergeable: false
|
|
28175
28192
|
});
|
|
@@ -28182,7 +28199,7 @@ const TTL$m = 300000;
|
|
|
28182
28199
|
const VERSION$T$1 = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
28183
28200
|
const RepresentationType$w = 'AppRepresentation';
|
|
28184
28201
|
function keyBuilder$1b(luvio, config) {
|
|
28185
|
-
return keyPrefix$
|
|
28202
|
+
return keyPrefix$2 + '::' + RepresentationType$w + ':' + (config.appId === null ? '' : config.appId);
|
|
28186
28203
|
}
|
|
28187
28204
|
function keyBuilderFromType$k(luvio, object) {
|
|
28188
28205
|
const keyParams = {
|
|
@@ -28427,7 +28444,7 @@ function getTypeCacheKeys$x$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
28427
28444
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28428
28445
|
const rootKey = keyBuilderFromType$k(luvio, input);
|
|
28429
28446
|
rootKeySet.set(rootKey, {
|
|
28430
|
-
namespace: keyPrefix$
|
|
28447
|
+
namespace: keyPrefix$2,
|
|
28431
28448
|
representationName: RepresentationType$w,
|
|
28432
28449
|
mergeable: false
|
|
28433
28450
|
});
|
|
@@ -28508,7 +28525,7 @@ function getTypeCacheKeys$w$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
28508
28525
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28509
28526
|
const rootKey = fullPathFactory();
|
|
28510
28527
|
rootKeySet.set(rootKey, {
|
|
28511
|
-
namespace: keyPrefix$
|
|
28528
|
+
namespace: keyPrefix$2,
|
|
28512
28529
|
representationName: RepresentationType$v,
|
|
28513
28530
|
mergeable: false
|
|
28514
28531
|
});
|
|
@@ -28522,7 +28539,7 @@ function select$1e(luvio, params) {
|
|
|
28522
28539
|
return select$1f();
|
|
28523
28540
|
}
|
|
28524
28541
|
function keyBuilder$1a(luvio, params) {
|
|
28525
|
-
return keyPrefix$
|
|
28542
|
+
return keyPrefix$2 + '::AppsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
|
|
28526
28543
|
}
|
|
28527
28544
|
function getResponseCacheKeys$F(storeKeyMap, luvio, resourceParams, response) {
|
|
28528
28545
|
getTypeCacheKeys$w$1(storeKeyMap, luvio, response, () => keyBuilder$1a(luvio, resourceParams));
|
|
@@ -28544,7 +28561,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
28544
28561
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28545
28562
|
const storeMetadataParams = {
|
|
28546
28563
|
ttl: TTL$l,
|
|
28547
|
-
namespace: keyPrefix$
|
|
28564
|
+
namespace: keyPrefix$2,
|
|
28548
28565
|
version: VERSION$S$1,
|
|
28549
28566
|
representationName: RepresentationType$v
|
|
28550
28567
|
};
|
|
@@ -28678,7 +28695,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
28678
28695
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28679
28696
|
const storeMetadataParams = {
|
|
28680
28697
|
ttl: TTL$m,
|
|
28681
|
-
namespace: keyPrefix$
|
|
28698
|
+
namespace: keyPrefix$2,
|
|
28682
28699
|
version: VERSION$T$1,
|
|
28683
28700
|
representationName: RepresentationType$w
|
|
28684
28701
|
};
|
|
@@ -28982,7 +28999,7 @@ function getTypeCacheKeys$v$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
28982
28999
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28983
29000
|
const rootKey = fullPathFactory();
|
|
28984
29001
|
rootKeySet.set(rootKey, {
|
|
28985
|
-
namespace: keyPrefix$
|
|
29002
|
+
namespace: keyPrefix$2,
|
|
28986
29003
|
representationName: RepresentationType$u,
|
|
28987
29004
|
mergeable: false
|
|
28988
29005
|
});
|
|
@@ -28992,7 +29009,7 @@ function select$17$1(luvio, params) {
|
|
|
28992
29009
|
return select$18$1();
|
|
28993
29010
|
}
|
|
28994
29011
|
function keyBuilder$16$1(luvio, params) {
|
|
28995
|
-
return keyPrefix$
|
|
29012
|
+
return keyPrefix$2 + '::DuplicatesConfigurationRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
28996
29013
|
}
|
|
28997
29014
|
function getResponseCacheKeys$D(storeKeyMap, luvio, resourceParams, response) {
|
|
28998
29015
|
getTypeCacheKeys$v$1(storeKeyMap, luvio, response, () => keyBuilder$16$1(luvio, resourceParams));
|
|
@@ -29014,7 +29031,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
29014
29031
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29015
29032
|
const storeMetadataParams = {
|
|
29016
29033
|
ttl: TTL$k,
|
|
29017
|
-
namespace: keyPrefix$
|
|
29034
|
+
namespace: keyPrefix$2,
|
|
29018
29035
|
version: VERSION$N$1,
|
|
29019
29036
|
representationName: RepresentationType$u
|
|
29020
29037
|
};
|
|
@@ -29140,7 +29157,7 @@ function coerceLayoutMode(value) {
|
|
|
29140
29157
|
}
|
|
29141
29158
|
|
|
29142
29159
|
function keyBuilder$14$1(luvio, params) {
|
|
29143
|
-
return keyPrefix$
|
|
29160
|
+
return keyPrefix$2 + '::RecordLayoutRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'layoutType:' + params.queryParams.layoutType + ',' + 'mode:' + params.queryParams.mode + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
29144
29161
|
}
|
|
29145
29162
|
function getResponseCacheKeys$C(storeKeyMap, luvio, resourceParams, response) {
|
|
29146
29163
|
getTypeCacheKeys$I$1(storeKeyMap, luvio, response);
|
|
@@ -29150,7 +29167,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
29150
29167
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29151
29168
|
const storeMetadataParams = {
|
|
29152
29169
|
ttl: TTL$t,
|
|
29153
|
-
namespace: keyPrefix$
|
|
29170
|
+
namespace: keyPrefix$2,
|
|
29154
29171
|
version: VERSION$13$1,
|
|
29155
29172
|
representationName: RepresentationType$I
|
|
29156
29173
|
};
|
|
@@ -29513,7 +29530,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
29513
29530
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29514
29531
|
const storeMetadataParams = {
|
|
29515
29532
|
ttl: TTL$y,
|
|
29516
|
-
namespace: keyPrefix$
|
|
29533
|
+
namespace: keyPrefix$2,
|
|
29517
29534
|
version: VERSION$1e,
|
|
29518
29535
|
representationName: RepresentationType$R
|
|
29519
29536
|
};
|
|
@@ -29664,7 +29681,7 @@ function select$15$1(luvio, resourceParams) {
|
|
|
29664
29681
|
return selectChildResourceParams$5(luvio, childResources, resourceParams);
|
|
29665
29682
|
}
|
|
29666
29683
|
function keyBuilder$12$1(luvio, params) {
|
|
29667
|
-
return keyPrefix$
|
|
29684
|
+
return keyPrefix$2 + '::ListInfoBatchRepresentation:(' + 'ids:' + params.queryParams.ids + ',' + 'names:' + params.queryParams.names + ')';
|
|
29668
29685
|
}
|
|
29669
29686
|
function getResponseCacheKeys$z(keys, luvio, resourceParams, response) {
|
|
29670
29687
|
const childEnvelopes = response.results;
|
|
@@ -29680,7 +29697,7 @@ function getResponseCacheKeys$z(keys, luvio, resourceParams, response) {
|
|
|
29680
29697
|
else if (childStatusCode === 404) {
|
|
29681
29698
|
const childKey = keyBuilder$13$1(luvio, childResourceParams);
|
|
29682
29699
|
keys.set(childKey, {
|
|
29683
|
-
namespace: keyPrefix$
|
|
29700
|
+
namespace: keyPrefix$2,
|
|
29684
29701
|
representationName: RepresentationType$R,
|
|
29685
29702
|
mergeable: false
|
|
29686
29703
|
});
|
|
@@ -29877,7 +29894,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
29877
29894
|
buildCachedSnapshotCachePolicy$s, buildNetworkSnapshotCachePolicy$s);
|
|
29878
29895
|
};
|
|
29879
29896
|
|
|
29880
|
-
function validate
|
|
29897
|
+
function validate$10(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
29881
29898
|
const v_error = (() => {
|
|
29882
29899
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
29883
29900
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29908,7 +29925,7 @@ function validate$$(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
29908
29925
|
return v_error === undefined ? null : v_error;
|
|
29909
29926
|
}
|
|
29910
29927
|
|
|
29911
|
-
function validate
|
|
29928
|
+
function validate$$(obj, path = 'ListScopeInputRepresentation') {
|
|
29912
29929
|
const v_error = (() => {
|
|
29913
29930
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
29914
29931
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29918,57 +29935,61 @@ function validate$_(obj, path = 'ListScopeInputRepresentation') {
|
|
|
29918
29935
|
if (typeof obj_apiName !== 'string') {
|
|
29919
29936
|
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
29920
29937
|
}
|
|
29921
|
-
|
|
29922
|
-
|
|
29923
|
-
|
|
29924
|
-
|
|
29925
|
-
|
|
29926
|
-
|
|
29927
|
-
|
|
29928
|
-
|
|
29929
|
-
|
|
29930
|
-
|
|
29931
|
-
|
|
29932
|
-
|
|
29933
|
-
|
|
29934
|
-
|
|
29935
|
-
|
|
29936
|
-
|
|
29937
|
-
|
|
29938
|
-
|
|
29939
|
-
|
|
29940
|
-
|
|
29941
|
-
|
|
29942
|
-
|
|
29943
|
-
|
|
29944
|
-
|
|
29945
|
-
|
|
29946
|
-
|
|
29947
|
-
|
|
29948
|
-
|
|
29949
|
-
|
|
29950
|
-
|
|
29951
|
-
|
|
29952
|
-
|
|
29953
|
-
|
|
29954
|
-
|
|
29955
|
-
|
|
29956
|
-
|
|
29957
|
-
|
|
29958
|
-
|
|
29959
|
-
|
|
29960
|
-
|
|
29961
|
-
|
|
29962
|
-
|
|
29963
|
-
|
|
29964
|
-
|
|
29965
|
-
|
|
29966
|
-
|
|
29967
|
-
|
|
29968
|
-
|
|
29969
|
-
|
|
29970
|
-
|
|
29971
|
-
|
|
29938
|
+
if (obj.entityId !== undefined) {
|
|
29939
|
+
const obj_entityId = obj.entityId;
|
|
29940
|
+
const path_entityId = path + '.entityId';
|
|
29941
|
+
let obj_entityId_union0 = null;
|
|
29942
|
+
const obj_entityId_union0_error = (() => {
|
|
29943
|
+
if (typeof obj_entityId !== 'string') {
|
|
29944
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
29945
|
+
}
|
|
29946
|
+
})();
|
|
29947
|
+
if (obj_entityId_union0_error != null) {
|
|
29948
|
+
obj_entityId_union0 = obj_entityId_union0_error.message;
|
|
29949
|
+
}
|
|
29950
|
+
let obj_entityId_union1 = null;
|
|
29951
|
+
const obj_entityId_union1_error = (() => {
|
|
29952
|
+
if (obj_entityId !== null) {
|
|
29953
|
+
return new TypeError('Expected "null" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
29954
|
+
}
|
|
29955
|
+
})();
|
|
29956
|
+
if (obj_entityId_union1_error != null) {
|
|
29957
|
+
obj_entityId_union1 = obj_entityId_union1_error.message;
|
|
29958
|
+
}
|
|
29959
|
+
if (obj_entityId_union0 && obj_entityId_union1) {
|
|
29960
|
+
let message = 'Object doesn\'t match union (at "' + path_entityId + '")';
|
|
29961
|
+
message += '\n' + obj_entityId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
29962
|
+
message += '\n' + obj_entityId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
29963
|
+
return new TypeError(message);
|
|
29964
|
+
}
|
|
29965
|
+
}
|
|
29966
|
+
if (obj.relatedEntityId !== undefined) {
|
|
29967
|
+
const obj_relatedEntityId = obj.relatedEntityId;
|
|
29968
|
+
const path_relatedEntityId = path + '.relatedEntityId';
|
|
29969
|
+
let obj_relatedEntityId_union0 = null;
|
|
29970
|
+
const obj_relatedEntityId_union0_error = (() => {
|
|
29971
|
+
if (typeof obj_relatedEntityId !== 'string') {
|
|
29972
|
+
return new TypeError('Expected "string" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
|
|
29973
|
+
}
|
|
29974
|
+
})();
|
|
29975
|
+
if (obj_relatedEntityId_union0_error != null) {
|
|
29976
|
+
obj_relatedEntityId_union0 = obj_relatedEntityId_union0_error.message;
|
|
29977
|
+
}
|
|
29978
|
+
let obj_relatedEntityId_union1 = null;
|
|
29979
|
+
const obj_relatedEntityId_union1_error = (() => {
|
|
29980
|
+
if (obj_relatedEntityId !== null) {
|
|
29981
|
+
return new TypeError('Expected "null" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
|
|
29982
|
+
}
|
|
29983
|
+
})();
|
|
29984
|
+
if (obj_relatedEntityId_union1_error != null) {
|
|
29985
|
+
obj_relatedEntityId_union1 = obj_relatedEntityId_union1_error.message;
|
|
29986
|
+
}
|
|
29987
|
+
if (obj_relatedEntityId_union0 && obj_relatedEntityId_union1) {
|
|
29988
|
+
let message = 'Object doesn\'t match union (at "' + path_relatedEntityId + '")';
|
|
29989
|
+
message += '\n' + obj_relatedEntityId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
29990
|
+
message += '\n' + obj_relatedEntityId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
29991
|
+
return new TypeError(message);
|
|
29992
|
+
}
|
|
29972
29993
|
}
|
|
29973
29994
|
})();
|
|
29974
29995
|
return v_error === undefined ? null : v_error;
|
|
@@ -30028,7 +30049,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
30028
30049
|
const untrustedConfig_filteredByInfo_array = [];
|
|
30029
30050
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
30030
30051
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
30031
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate
|
|
30052
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$10(untrustedConfig_filteredByInfo_item);
|
|
30032
30053
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
30033
30054
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
30034
30055
|
}
|
|
@@ -30036,7 +30057,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
30036
30057
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
30037
30058
|
}
|
|
30038
30059
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
30039
|
-
const referenceListScopeInputRepresentationValidationError = validate
|
|
30060
|
+
const referenceListScopeInputRepresentationValidationError = validate$$(untrustedConfig_scope);
|
|
30040
30061
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
30041
30062
|
config.scope = untrustedConfig_scope;
|
|
30042
30063
|
}
|
|
@@ -30220,7 +30241,7 @@ function typeCheckConfig$C(untrustedConfig) {
|
|
|
30220
30241
|
const untrustedConfig_filteredByInfo_array = [];
|
|
30221
30242
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
30222
30243
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
30223
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate
|
|
30244
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$10(untrustedConfig_filteredByInfo_item);
|
|
30224
30245
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
30225
30246
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
30226
30247
|
}
|
|
@@ -30228,7 +30249,7 @@ function typeCheckConfig$C(untrustedConfig) {
|
|
|
30228
30249
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
30229
30250
|
}
|
|
30230
30251
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
30231
|
-
const referenceListScopeInputRepresentationValidationError = validate
|
|
30252
|
+
const referenceListScopeInputRepresentationValidationError = validate$$(untrustedConfig_scope);
|
|
30232
30253
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
30233
30254
|
config.scope = untrustedConfig_scope;
|
|
30234
30255
|
}
|
|
@@ -30509,7 +30530,7 @@ const TTL$j = 900000;
|
|
|
30509
30530
|
const VERSION$I$1 = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
30510
30531
|
const RepresentationType$t = 'ListObjectInfoRepresentation';
|
|
30511
30532
|
function keyBuilder$$$1(luvio, config) {
|
|
30512
|
-
return keyPrefix$
|
|
30533
|
+
return keyPrefix$2 + '::' + RepresentationType$t + ':' + config.objectApiName;
|
|
30513
30534
|
}
|
|
30514
30535
|
function keyBuilderFromType$j(luvio, object) {
|
|
30515
30536
|
const keyParams = {
|
|
@@ -30603,7 +30624,7 @@ function getTypeCacheKeys$u$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
30603
30624
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
30604
30625
|
const rootKey = keyBuilderFromType$j(luvio, input);
|
|
30605
30626
|
rootKeySet.set(rootKey, {
|
|
30606
|
-
namespace: keyPrefix$
|
|
30627
|
+
namespace: keyPrefix$2,
|
|
30607
30628
|
representationName: RepresentationType$t,
|
|
30608
30629
|
mergeable: false
|
|
30609
30630
|
});
|
|
@@ -30637,7 +30658,7 @@ function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
|
30637
30658
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30638
30659
|
const storeMetadataParams = {
|
|
30639
30660
|
ttl: TTL$j,
|
|
30640
|
-
namespace: keyPrefix$
|
|
30661
|
+
namespace: keyPrefix$2,
|
|
30641
30662
|
version: VERSION$I$1,
|
|
30642
30663
|
representationName: RepresentationType$t
|
|
30643
30664
|
};
|
|
@@ -30824,7 +30845,7 @@ function getTypeCacheKeys$t$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
30824
30845
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
30825
30846
|
const rootKey = fullPathFactory();
|
|
30826
30847
|
rootKeySet.set(rootKey, {
|
|
30827
|
-
namespace: keyPrefix$
|
|
30848
|
+
namespace: keyPrefix$2,
|
|
30828
30849
|
representationName: RepresentationType$s,
|
|
30829
30850
|
mergeable: false
|
|
30830
30851
|
});
|
|
@@ -30838,7 +30859,7 @@ function select$X$1(luvio, params) {
|
|
|
30838
30859
|
return select$Y$1();
|
|
30839
30860
|
}
|
|
30840
30861
|
function keyBuilder$Y$1(luvio, params) {
|
|
30841
|
-
return keyPrefix$
|
|
30862
|
+
return keyPrefix$2 + '::NavItemsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'navItemNames:' + params.queryParams.navItemNames + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ')';
|
|
30842
30863
|
}
|
|
30843
30864
|
function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
|
|
30844
30865
|
getTypeCacheKeys$t$1(storeKeyMap, luvio, response, () => keyBuilder$Y$1(luvio, resourceParams));
|
|
@@ -30860,7 +30881,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
|
30860
30881
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30861
30882
|
const storeMetadataParams = {
|
|
30862
30883
|
ttl: TTL$i,
|
|
30863
|
-
namespace: keyPrefix$
|
|
30884
|
+
namespace: keyPrefix$2,
|
|
30864
30885
|
version: VERSION$H$1,
|
|
30865
30886
|
representationName: RepresentationType$s
|
|
30866
30887
|
};
|
|
@@ -31091,7 +31112,7 @@ function select$W$1(luvio, resourceParams) {
|
|
|
31091
31112
|
return selectChildResourceParams$4(luvio, childResources, resourceParams);
|
|
31092
31113
|
}
|
|
31093
31114
|
function keyBuilder$W$1(luvio, params) {
|
|
31094
|
-
return keyPrefix$
|
|
31115
|
+
return keyPrefix$2 + '::SimplifiedBatchRepresentation:(' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
31095
31116
|
}
|
|
31096
31117
|
function getResponseCacheKeys$u(keys, luvio, resourceParams, response) {
|
|
31097
31118
|
const childEnvelopes = response.results;
|
|
@@ -31107,7 +31128,7 @@ function getResponseCacheKeys$u(keys, luvio, resourceParams, response) {
|
|
|
31107
31128
|
else if (childStatusCode === 404) {
|
|
31108
31129
|
const childKey = keyBuilder$1I(luvio, childResourceParams);
|
|
31109
31130
|
keys.set(childKey, {
|
|
31110
|
-
namespace: keyPrefix$
|
|
31131
|
+
namespace: keyPrefix$2,
|
|
31111
31132
|
representationName: RepresentationType$J,
|
|
31112
31133
|
mergeable: false
|
|
31113
31134
|
});
|
|
@@ -31475,7 +31496,7 @@ const TTL$h = 900000;
|
|
|
31475
31496
|
const VERSION$A$1 = "0a361a49370acb4c6a31721a2057649a";
|
|
31476
31497
|
const RepresentationType$r = 'PicklistValuesRepresentation';
|
|
31477
31498
|
function keyBuilder$U$1(luvio, config) {
|
|
31478
|
-
return keyPrefix$
|
|
31499
|
+
return keyPrefix$2 + '::' + RepresentationType$r + ':' + config.id;
|
|
31479
31500
|
}
|
|
31480
31501
|
function normalize$m(input, existing, path, luvio, store, timestamp) {
|
|
31481
31502
|
return input;
|
|
@@ -31529,7 +31550,7 @@ function getTypeCacheKeys$s$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
31529
31550
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
31530
31551
|
const rootKey = keyBuilderFromType$i(luvio, input);
|
|
31531
31552
|
rootKeySet.set(rootKey, {
|
|
31532
|
-
namespace: keyPrefix$
|
|
31553
|
+
namespace: keyPrefix$2,
|
|
31533
31554
|
representationName: RepresentationType$r,
|
|
31534
31555
|
mergeable: false
|
|
31535
31556
|
});
|
|
@@ -31605,7 +31626,7 @@ function getTypeCacheKeys$r$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
31605
31626
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
31606
31627
|
const rootKey = fullPathFactory();
|
|
31607
31628
|
rootKeySet.set(rootKey, {
|
|
31608
|
-
namespace: keyPrefix$
|
|
31629
|
+
namespace: keyPrefix$2,
|
|
31609
31630
|
representationName: RepresentationType$q,
|
|
31610
31631
|
mergeable: false
|
|
31611
31632
|
});
|
|
@@ -31622,7 +31643,7 @@ function select$N$1(luvio, params) {
|
|
|
31622
31643
|
return select$O$1();
|
|
31623
31644
|
}
|
|
31624
31645
|
function keyBuilder$T$1(luvio, params) {
|
|
31625
|
-
return keyPrefix$
|
|
31646
|
+
return keyPrefix$2 + '::PicklistValuesCollectionRepresentation:(' + 'objectApiName:' + params.urlParams.objectApiName + ',' + 'recordTypeId:' + params.urlParams.recordTypeId + ')';
|
|
31626
31647
|
}
|
|
31627
31648
|
function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
|
|
31628
31649
|
getTypeCacheKeys$r$1(storeKeyMap, luvio, response, () => keyBuilder$T$1(luvio, resourceParams));
|
|
@@ -31644,7 +31665,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
|
31644
31665
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
31645
31666
|
const storeMetadataParams = {
|
|
31646
31667
|
ttl: TTL$g,
|
|
31647
|
-
namespace: keyPrefix$
|
|
31668
|
+
namespace: keyPrefix$2,
|
|
31648
31669
|
version: VERSION$z$1,
|
|
31649
31670
|
representationName: RepresentationType$q
|
|
31650
31671
|
};
|
|
@@ -31947,7 +31968,7 @@ function getTypeCacheKeys$q$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
31947
31968
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
31948
31969
|
const rootKey = fullPathFactory();
|
|
31949
31970
|
rootKeySet.set(rootKey, {
|
|
31950
|
-
namespace: keyPrefix$
|
|
31971
|
+
namespace: keyPrefix$2,
|
|
31951
31972
|
representationName: RepresentationType$p,
|
|
31952
31973
|
mergeable: false
|
|
31953
31974
|
});
|
|
@@ -31957,7 +31978,7 @@ function select$L$1(luvio, params) {
|
|
|
31957
31978
|
return select$M$1();
|
|
31958
31979
|
}
|
|
31959
31980
|
function keyBuilder$R$1(luvio, params) {
|
|
31960
|
-
return keyPrefix$
|
|
31981
|
+
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) + ')';
|
|
31961
31982
|
}
|
|
31962
31983
|
function getResponseCacheKeys$r(storeKeyMap, luvio, resourceParams, response) {
|
|
31963
31984
|
getTypeCacheKeys$q$1(storeKeyMap, luvio, response, () => keyBuilder$R$1(luvio, resourceParams));
|
|
@@ -31979,7 +32000,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
31979
32000
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
31980
32001
|
const storeMetadataParams = {
|
|
31981
32002
|
ttl: TTL$f,
|
|
31982
|
-
namespace: keyPrefix$
|
|
32003
|
+
namespace: keyPrefix$2,
|
|
31983
32004
|
version: VERSION$y$1,
|
|
31984
32005
|
representationName: RepresentationType$p
|
|
31985
32006
|
};
|
|
@@ -32247,7 +32268,7 @@ function getTypeCacheKeys$p$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
32247
32268
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32248
32269
|
const rootKey = keyBuilderFromType$h(luvio, input);
|
|
32249
32270
|
rootKeySet.set(rootKey, {
|
|
32250
|
-
namespace: keyPrefix$
|
|
32271
|
+
namespace: keyPrefix$2,
|
|
32251
32272
|
representationName: RepresentationType$m,
|
|
32252
32273
|
mergeable: false
|
|
32253
32274
|
});
|
|
@@ -32313,7 +32334,7 @@ function getTypeCacheKeys$o$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
32313
32334
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32314
32335
|
const rootKey = keyBuilderFromType$g(luvio, input);
|
|
32315
32336
|
rootKeySet.set(rootKey, {
|
|
32316
|
-
namespace: keyPrefix$
|
|
32337
|
+
namespace: keyPrefix$2,
|
|
32317
32338
|
representationName: RepresentationType$m,
|
|
32318
32339
|
mergeable: false
|
|
32319
32340
|
});
|
|
@@ -32327,7 +32348,7 @@ var DiscriminatorValues$2$2;
|
|
|
32327
32348
|
const VERSION$u$1 = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
32328
32349
|
const RepresentationType$m = 'AbstractRecordAvatarRepresentation';
|
|
32329
32350
|
function keyBuilder$P$1(luvio, config) {
|
|
32330
|
-
return keyPrefix$
|
|
32351
|
+
return keyPrefix$2 + '::' + RepresentationType$m + ':' + config.recordId;
|
|
32331
32352
|
}
|
|
32332
32353
|
function keyBuilderFromType$f(luvio, object) {
|
|
32333
32354
|
const keyParams = {
|
|
@@ -32453,7 +32474,7 @@ function getTypeCacheKeys$m$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
32453
32474
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32454
32475
|
const rootKey = fullPathFactory();
|
|
32455
32476
|
rootKeySet.set(rootKey, {
|
|
32456
|
-
namespace: keyPrefix$
|
|
32477
|
+
namespace: keyPrefix$2,
|
|
32457
32478
|
representationName: RepresentationType$l,
|
|
32458
32479
|
mergeable: false
|
|
32459
32480
|
});
|
|
@@ -32540,7 +32561,7 @@ function getTypeCacheKeys$l$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
32540
32561
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32541
32562
|
const rootKey = fullPathFactory();
|
|
32542
32563
|
rootKeySet.set(rootKey, {
|
|
32543
|
-
namespace: keyPrefix$
|
|
32564
|
+
namespace: keyPrefix$2,
|
|
32544
32565
|
representationName: RepresentationType$k,
|
|
32545
32566
|
mergeable: false
|
|
32546
32567
|
});
|
|
@@ -32595,7 +32616,7 @@ function getTypeCacheKeys$k$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
32595
32616
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32596
32617
|
const rootKey = fullPathFactory();
|
|
32597
32618
|
rootKeySet.set(rootKey, {
|
|
32598
|
-
namespace: keyPrefix$
|
|
32619
|
+
namespace: keyPrefix$2,
|
|
32599
32620
|
representationName: RepresentationType$j,
|
|
32600
32621
|
mergeable: false
|
|
32601
32622
|
});
|
|
@@ -32709,7 +32730,7 @@ function getTypeCacheKeys$i$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
32709
32730
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32710
32731
|
const rootKey = fullPathFactory();
|
|
32711
32732
|
rootKeySet.set(rootKey, {
|
|
32712
|
-
namespace: keyPrefix$
|
|
32733
|
+
namespace: keyPrefix$2,
|
|
32713
32734
|
representationName: RepresentationType$i,
|
|
32714
32735
|
mergeable: false
|
|
32715
32736
|
});
|
|
@@ -32749,7 +32770,7 @@ const ingest$e$1 = function RecordAvatarBulkMapRepresentationIngest(input, path,
|
|
|
32749
32770
|
};
|
|
32750
32771
|
|
|
32751
32772
|
function keyBuilder$O$1(luvio, params) {
|
|
32752
|
-
return keyPrefix$
|
|
32773
|
+
return keyPrefix$2 + '::RecordAvatarBulkMapRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
32753
32774
|
}
|
|
32754
32775
|
function getResponseCacheKeys$q(storeKeyMap, luvio, resourceParams, response) {
|
|
32755
32776
|
getTypeCacheKeys$i$1(storeKeyMap, luvio, response, () => keyBuilder$O$1(luvio, resourceParams));
|
|
@@ -32759,7 +32780,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
32759
32780
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
32760
32781
|
const storeMetadataParams = {
|
|
32761
32782
|
ttl: TTL$d,
|
|
32762
|
-
namespace: keyPrefix$
|
|
32783
|
+
namespace: keyPrefix$2,
|
|
32763
32784
|
version: VERSION$o$1,
|
|
32764
32785
|
representationName: RepresentationType$i
|
|
32765
32786
|
};
|
|
@@ -32782,7 +32803,7 @@ function createResourceRequest$t(config) {
|
|
|
32782
32803
|
|
|
32783
32804
|
// All of the avatars are ingested into
|
|
32784
32805
|
// the same top level object
|
|
32785
|
-
const KEY = `${keyPrefix$
|
|
32806
|
+
const KEY = `${keyPrefix$2}RecordAvatarsBulk`;
|
|
32786
32807
|
function recordAvatarsFragment(recordIds) {
|
|
32787
32808
|
return {
|
|
32788
32809
|
kind: 'Fragment',
|
|
@@ -33269,7 +33290,7 @@ function equals$k(existing, incoming) {
|
|
|
33269
33290
|
const VERSION$m$1 = "836b875b519813e7499efc62f0f1d04b";
|
|
33270
33291
|
const RepresentationType$h = 'RelatedListRecordCountRepresentation';
|
|
33271
33292
|
function keyBuilder$M$1(luvio, config) {
|
|
33272
|
-
return keyPrefix$
|
|
33293
|
+
return keyPrefix$2 + '::' + RepresentationType$h + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId;
|
|
33273
33294
|
}
|
|
33274
33295
|
function keyBuilderFromType$e(luvio, object) {
|
|
33275
33296
|
const keyParams = {
|
|
@@ -33339,7 +33360,7 @@ function getTypeCacheKeys$h$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
33339
33360
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
33340
33361
|
const rootKey = keyBuilderFromType$e(luvio, input);
|
|
33341
33362
|
rootKeySet.set(rootKey, {
|
|
33342
|
-
namespace: keyPrefix$
|
|
33363
|
+
namespace: keyPrefix$2,
|
|
33343
33364
|
representationName: RepresentationType$h,
|
|
33344
33365
|
mergeable: false
|
|
33345
33366
|
});
|
|
@@ -33516,7 +33537,7 @@ function select$y$1(luvio, resourceParams) {
|
|
|
33516
33537
|
return selectChildResourceParams$3(luvio, childResources, resourceParams);
|
|
33517
33538
|
}
|
|
33518
33539
|
function keyBuilder$K$1(luvio, params) {
|
|
33519
|
-
return keyPrefix$
|
|
33540
|
+
return keyPrefix$2 + '::BatchRelatedListCountRepresentation:(' + 'maxCount:' + params.queryParams.maxCount + ',' + 'parentRecordId:' + params.urlParams.parentRecordId + ',' + 'relatedListNames:' + params.urlParams.relatedListNames + ')';
|
|
33520
33541
|
}
|
|
33521
33542
|
function getResponseCacheKeys$o(keys, luvio, resourceParams, response) {
|
|
33522
33543
|
const childEnvelopes = response.results;
|
|
@@ -33532,7 +33553,7 @@ function getResponseCacheKeys$o(keys, luvio, resourceParams, response) {
|
|
|
33532
33553
|
else if (childStatusCode === 404) {
|
|
33533
33554
|
const childKey = keyBuilder$L$1(luvio, childResourceParams);
|
|
33534
33555
|
keys.set(childKey, {
|
|
33535
|
-
namespace: keyPrefix$
|
|
33556
|
+
namespace: keyPrefix$2,
|
|
33536
33557
|
representationName: RepresentationType$h,
|
|
33537
33558
|
mergeable: false
|
|
33538
33559
|
});
|
|
@@ -33819,7 +33840,7 @@ const TTL$c = 900000;
|
|
|
33819
33840
|
const VERSION$l$1 = "c977d65d153a2b4e888ddd45fb083248";
|
|
33820
33841
|
const RepresentationType$g = 'RelatedListInfoRepresentation';
|
|
33821
33842
|
function keyBuilder$H$1(luvio, config) {
|
|
33822
|
-
return keyPrefix$
|
|
33843
|
+
return keyPrefix$2 + '::' + RepresentationType$g + ':' + config.relatedListId + ':' + config.parentObjectApiName + ':' + config.restrictColumnsToLayout + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + '[' + config.optionalFields.join(',') + ']' + ':' + '[' + config.fields.join(',') + ']';
|
|
33823
33844
|
}
|
|
33824
33845
|
function keyBuilderFromType$d(luvio, object) {
|
|
33825
33846
|
const keyParams = {
|
|
@@ -33946,7 +33967,7 @@ function getTypeCacheKeys$g$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
33946
33967
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
33947
33968
|
const rootKey = keyBuilderFromType$d(luvio, input);
|
|
33948
33969
|
rootKeySet.set(rootKey, {
|
|
33949
|
-
namespace: keyPrefix$
|
|
33970
|
+
namespace: keyPrefix$2,
|
|
33950
33971
|
representationName: RepresentationType$g,
|
|
33951
33972
|
mergeable: false
|
|
33952
33973
|
});
|
|
@@ -33985,7 +34006,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
33985
34006
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
33986
34007
|
const storeMetadataParams = {
|
|
33987
34008
|
ttl: TTL$c,
|
|
33988
|
-
namespace: keyPrefix$
|
|
34009
|
+
namespace: keyPrefix$2,
|
|
33989
34010
|
version: VERSION$l$1,
|
|
33990
34011
|
representationName: RepresentationType$g
|
|
33991
34012
|
};
|
|
@@ -34137,7 +34158,7 @@ function select$v$1(luvio, resourceParams) {
|
|
|
34137
34158
|
return selectChildResourceParams$2(luvio, childResources, resourceParams);
|
|
34138
34159
|
}
|
|
34139
34160
|
function keyBuilder$F$1(luvio, params) {
|
|
34140
|
-
return keyPrefix$
|
|
34161
|
+
return keyPrefix$2 + '::RelatedListInfoBatchRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'parentObjectApiName:' + params.urlParams.parentObjectApiName + ',' + 'relatedListNames:' + params.urlParams.relatedListNames + ')';
|
|
34141
34162
|
}
|
|
34142
34163
|
function getResponseCacheKeys$m(keys, luvio, resourceParams, response) {
|
|
34143
34164
|
const childEnvelopes = response.results;
|
|
@@ -34153,7 +34174,7 @@ function getResponseCacheKeys$m(keys, luvio, resourceParams, response) {
|
|
|
34153
34174
|
else if (childStatusCode === 404) {
|
|
34154
34175
|
const childKey = keyBuilder$G$1(luvio, childResourceParams);
|
|
34155
34176
|
keys.set(childKey, {
|
|
34156
|
-
namespace: keyPrefix$
|
|
34177
|
+
namespace: keyPrefix$2,
|
|
34157
34178
|
representationName: RepresentationType$g,
|
|
34158
34179
|
mergeable: false
|
|
34159
34180
|
});
|
|
@@ -34355,7 +34376,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
34355
34376
|
const VERSION$k$1 = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
34356
34377
|
const RepresentationType$f = 'RelatedListSummaryInfoCollectionRepresentation';
|
|
34357
34378
|
function keyBuilder$D$1(luvio, config) {
|
|
34358
|
-
return keyPrefix$
|
|
34379
|
+
return keyPrefix$2 + '::' + RepresentationType$f + ':' + config.parentObjectApiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
34359
34380
|
}
|
|
34360
34381
|
function keyBuilderFromType$c(luvio, object) {
|
|
34361
34382
|
const keyParams = {
|
|
@@ -34407,7 +34428,7 @@ function getTypeCacheKeys$f$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
34407
34428
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
34408
34429
|
const rootKey = keyBuilderFromType$c(luvio, input);
|
|
34409
34430
|
rootKeySet.set(rootKey, {
|
|
34410
|
-
namespace: keyPrefix$
|
|
34431
|
+
namespace: keyPrefix$2,
|
|
34411
34432
|
representationName: RepresentationType$f,
|
|
34412
34433
|
mergeable: false
|
|
34413
34434
|
});
|
|
@@ -34631,7 +34652,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
34631
34652
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
|
|
34632
34653
|
};
|
|
34633
34654
|
|
|
34634
|
-
function validate$
|
|
34655
|
+
function validate$w(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
34635
34656
|
const v_error = (() => {
|
|
34636
34657
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
34637
34658
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34650,7 +34671,7 @@ function validate$v(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
|
34650
34671
|
return v_error === undefined ? null : v_error;
|
|
34651
34672
|
}
|
|
34652
34673
|
|
|
34653
|
-
function validate$
|
|
34674
|
+
function validate$v(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
34654
34675
|
const v_error = (() => {
|
|
34655
34676
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
34656
34677
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34727,7 +34748,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
34727
34748
|
const untrustedConfig_orderedByInfo_array = [];
|
|
34728
34749
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
34729
34750
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
34730
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
34751
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$w(untrustedConfig_orderedByInfo_item);
|
|
34731
34752
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
34732
34753
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
34733
34754
|
}
|
|
@@ -34735,7 +34756,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
34735
34756
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
34736
34757
|
}
|
|
34737
34758
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
34738
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
34759
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$v(untrustedConfig_userPreferences);
|
|
34739
34760
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
34740
34761
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
34741
34762
|
}
|
|
@@ -34799,7 +34820,7 @@ const TTL$b = 900000;
|
|
|
34799
34820
|
const VERSION$j$1 = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
34800
34821
|
const RepresentationType$e = 'RelatedListUserPreferencesRepresentation';
|
|
34801
34822
|
function keyBuilder$z$1(luvio, config) {
|
|
34802
|
-
return keyPrefix$
|
|
34823
|
+
return keyPrefix$2 + '::' + RepresentationType$e + ':' + config.preferencesId;
|
|
34803
34824
|
}
|
|
34804
34825
|
function keyBuilderFromType$b(luvio, object) {
|
|
34805
34826
|
const keyParams = {
|
|
@@ -34834,7 +34855,7 @@ function getTypeCacheKeys$e$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
34834
34855
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
34835
34856
|
const rootKey = keyBuilderFromType$b(luvio, input);
|
|
34836
34857
|
rootKeySet.set(rootKey, {
|
|
34837
|
-
namespace: keyPrefix$
|
|
34858
|
+
namespace: keyPrefix$2,
|
|
34838
34859
|
representationName: RepresentationType$e,
|
|
34839
34860
|
mergeable: false
|
|
34840
34861
|
});
|
|
@@ -34868,7 +34889,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
34868
34889
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
34869
34890
|
const storeMetadataParams = {
|
|
34870
34891
|
ttl: TTL$b,
|
|
34871
|
-
namespace: keyPrefix$
|
|
34892
|
+
namespace: keyPrefix$2,
|
|
34872
34893
|
version: VERSION$j$1,
|
|
34873
34894
|
representationName: RepresentationType$e
|
|
34874
34895
|
};
|
|
@@ -35012,7 +35033,7 @@ function select$p$1(luvio, resourceParams) {
|
|
|
35012
35033
|
return selectChildResourceParams$1(luvio, childResources, resourceParams);
|
|
35013
35034
|
}
|
|
35014
35035
|
function keyBuilder$x$1(luvio, params) {
|
|
35015
|
-
return keyPrefix$
|
|
35036
|
+
return keyPrefix$2 + '::RelatedListPreferencesBatchRepresentation:(' + 'preferencesIds:' + params.urlParams.preferencesIds + ')';
|
|
35016
35037
|
}
|
|
35017
35038
|
function getResponseCacheKeys$i(keys, luvio, resourceParams, response) {
|
|
35018
35039
|
const childEnvelopes = response.results;
|
|
@@ -35028,7 +35049,7 @@ function getResponseCacheKeys$i(keys, luvio, resourceParams, response) {
|
|
|
35028
35049
|
else if (childStatusCode === 404) {
|
|
35029
35050
|
const childKey = keyBuilder$y$1(luvio, childResourceParams);
|
|
35030
35051
|
keys.set(childKey, {
|
|
35031
|
-
namespace: keyPrefix$
|
|
35052
|
+
namespace: keyPrefix$2,
|
|
35032
35053
|
representationName: RepresentationType$e,
|
|
35033
35054
|
mergeable: false
|
|
35034
35055
|
});
|
|
@@ -35390,7 +35411,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
35390
35411
|
const untrustedConfig_orderedBy_array = [];
|
|
35391
35412
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
35392
35413
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
35393
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
35414
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$w(untrustedConfig_orderedBy_item);
|
|
35394
35415
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
35395
35416
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
35396
35417
|
}
|
|
@@ -35438,7 +35459,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
35438
35459
|
};
|
|
35439
35460
|
};
|
|
35440
35461
|
|
|
35441
|
-
function validate$
|
|
35462
|
+
function validate$t(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
35442
35463
|
const v_error = (() => {
|
|
35443
35464
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
35444
35465
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35683,7 +35704,7 @@ const TTL$a = 30000;
|
|
|
35683
35704
|
const VERSION$i$1 = "62467c27c19349b70c9db2a8d9d591d9";
|
|
35684
35705
|
const RepresentationType$d = 'RelatedListRecordCollectionRepresentation';
|
|
35685
35706
|
function keyBuilder$u$1(luvio, config) {
|
|
35686
|
-
return keyPrefix$
|
|
35707
|
+
return keyPrefix$2 + '::' + RepresentationType$d + ':' + '[' + config.sortBy.join(',') + ']' + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId + ':' + (config.where === null ? '' : config.where);
|
|
35687
35708
|
}
|
|
35688
35709
|
function keyBuilderFromType$a(luvio, object) {
|
|
35689
35710
|
const keyParams = {
|
|
@@ -35995,12 +36016,12 @@ function getTypeCacheKeys$d$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
35995
36016
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
35996
36017
|
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
35997
36018
|
rootKeySet.set(rootKey, {
|
|
35998
|
-
namespace: keyPrefix$
|
|
36019
|
+
namespace: keyPrefix$2,
|
|
35999
36020
|
representationName: RepresentationType$d,
|
|
36000
36021
|
mergeable: true
|
|
36001
36022
|
});
|
|
36002
36023
|
rootKeySet.set(rootKey + '__pagination', {
|
|
36003
|
-
namespace: keyPrefix$
|
|
36024
|
+
namespace: keyPrefix$2,
|
|
36004
36025
|
representationName: RepresentationType$d,
|
|
36005
36026
|
mergeable: true
|
|
36006
36027
|
});
|
|
@@ -36076,7 +36097,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
36076
36097
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
36077
36098
|
const storeMetadataParams = {
|
|
36078
36099
|
ttl: TTL$a,
|
|
36079
|
-
namespace: keyPrefix$
|
|
36100
|
+
namespace: keyPrefix$2,
|
|
36080
36101
|
version: VERSION$i$1,
|
|
36081
36102
|
representationName: RepresentationType$d
|
|
36082
36103
|
};
|
|
@@ -36243,7 +36264,7 @@ function select$m$1(luvio, resourceParams) {
|
|
|
36243
36264
|
return selectChildResourceParams$8(luvio, childResources, resourceParams);
|
|
36244
36265
|
}
|
|
36245
36266
|
function keyBuilder$s$1(luvio, params) {
|
|
36246
|
-
return keyPrefix$
|
|
36267
|
+
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(',') + ']' + ')';
|
|
36247
36268
|
}
|
|
36248
36269
|
function getResponseCacheKeys$f(keys, luvio, resourceParams, response) {
|
|
36249
36270
|
const childEnvelopes = response.results;
|
|
@@ -36259,7 +36280,7 @@ function getResponseCacheKeys$f(keys, luvio, resourceParams, response) {
|
|
|
36259
36280
|
else if (childStatusCode === 404) {
|
|
36260
36281
|
const childKey = keyBuilder$t$1(luvio, childResourceParams);
|
|
36261
36282
|
keys.set(childKey, {
|
|
36262
|
-
namespace: keyPrefix$
|
|
36283
|
+
namespace: keyPrefix$2,
|
|
36263
36284
|
representationName: RepresentationType$d,
|
|
36264
36285
|
mergeable: false
|
|
36265
36286
|
});
|
|
@@ -36391,7 +36412,7 @@ function typeCheckConfig$k(untrustedConfig) {
|
|
|
36391
36412
|
const untrustedConfig_relatedListParameters_array = [];
|
|
36392
36413
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
36393
36414
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
36394
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
36415
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$t(untrustedConfig_relatedListParameters_item);
|
|
36395
36416
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
36396
36417
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
36397
36418
|
}
|
|
@@ -36810,7 +36831,7 @@ const TTL$9 = 30000;
|
|
|
36810
36831
|
const VERSION$c$1 = "4c15d70367f2a3acd1e1c627b4946679";
|
|
36811
36832
|
const RepresentationType$c = 'SearchFilterMetadataCollectionRepresentation';
|
|
36812
36833
|
function keyBuilder$p$1(luvio, config) {
|
|
36813
|
-
return keyPrefix$
|
|
36834
|
+
return keyPrefix$2 + '::' + RepresentationType$c + ':' + config.objectApiName;
|
|
36814
36835
|
}
|
|
36815
36836
|
function keyBuilderFromType$9(luvio, object) {
|
|
36816
36837
|
const keyParams = {
|
|
@@ -36869,7 +36890,7 @@ function getTypeCacheKeys$c$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
36869
36890
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
36870
36891
|
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
36871
36892
|
rootKeySet.set(rootKey, {
|
|
36872
|
-
namespace: keyPrefix$
|
|
36893
|
+
namespace: keyPrefix$2,
|
|
36873
36894
|
representationName: RepresentationType$c,
|
|
36874
36895
|
mergeable: false
|
|
36875
36896
|
});
|
|
@@ -36903,7 +36924,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
36903
36924
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
36904
36925
|
const storeMetadataParams = {
|
|
36905
36926
|
ttl: TTL$9,
|
|
36906
|
-
namespace: keyPrefix$
|
|
36927
|
+
namespace: keyPrefix$2,
|
|
36907
36928
|
version: VERSION$c$1,
|
|
36908
36929
|
representationName: RepresentationType$c
|
|
36909
36930
|
};
|
|
@@ -37011,7 +37032,7 @@ const TTL$8 = 30000;
|
|
|
37011
37032
|
const VERSION$b$1 = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
37012
37033
|
const RepresentationType$b = 'SearchFilterOptionCollectionRepresentation';
|
|
37013
37034
|
function keyBuilder$m$1(luvio, config) {
|
|
37014
|
-
return keyPrefix$
|
|
37035
|
+
return keyPrefix$2 + '::' + RepresentationType$b + ':' + (config.query === null ? '' : config.query) + ':' + config.objectApiName + ':' + config.filterApiName;
|
|
37015
37036
|
}
|
|
37016
37037
|
function keyBuilderFromType$8(luvio, object) {
|
|
37017
37038
|
const keyParams = {
|
|
@@ -37048,7 +37069,7 @@ function getTypeCacheKeys$b$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
37048
37069
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37049
37070
|
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
37050
37071
|
rootKeySet.set(rootKey, {
|
|
37051
|
-
namespace: keyPrefix$
|
|
37072
|
+
namespace: keyPrefix$2,
|
|
37052
37073
|
representationName: RepresentationType$b,
|
|
37053
37074
|
mergeable: false
|
|
37054
37075
|
});
|
|
@@ -37084,7 +37105,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
37084
37105
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37085
37106
|
const storeMetadataParams = {
|
|
37086
37107
|
ttl: TTL$8,
|
|
37087
|
-
namespace: keyPrefix$
|
|
37108
|
+
namespace: keyPrefix$2,
|
|
37088
37109
|
version: VERSION$b$1,
|
|
37089
37110
|
representationName: RepresentationType$b
|
|
37090
37111
|
};
|
|
@@ -37194,7 +37215,7 @@ const TTL$7 = 30000;
|
|
|
37194
37215
|
const VERSION$a$1 = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
37195
37216
|
const RepresentationType$a = 'LookupMetadataRepresentation';
|
|
37196
37217
|
function keyBuilder$j$1(luvio, config) {
|
|
37197
|
-
return keyPrefix$
|
|
37218
|
+
return keyPrefix$2 + '::' + RepresentationType$a + ':' + config.objectApiName + ':' + config.fieldApiName;
|
|
37198
37219
|
}
|
|
37199
37220
|
function keyBuilderFromType$7(luvio, object) {
|
|
37200
37221
|
const keyParams = {
|
|
@@ -37230,7 +37251,7 @@ function getTypeCacheKeys$a$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
37230
37251
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37231
37252
|
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
37232
37253
|
rootKeySet.set(rootKey, {
|
|
37233
|
-
namespace: keyPrefix$
|
|
37254
|
+
namespace: keyPrefix$2,
|
|
37234
37255
|
representationName: RepresentationType$a,
|
|
37235
37256
|
mergeable: false
|
|
37236
37257
|
});
|
|
@@ -37265,7 +37286,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
37265
37286
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37266
37287
|
const storeMetadataParams = {
|
|
37267
37288
|
ttl: TTL$7,
|
|
37268
|
-
namespace: keyPrefix$
|
|
37289
|
+
namespace: keyPrefix$2,
|
|
37269
37290
|
version: VERSION$a$1,
|
|
37270
37291
|
representationName: RepresentationType$a
|
|
37271
37292
|
};
|
|
@@ -37374,7 +37395,7 @@ const TTL$6 = 200;
|
|
|
37374
37395
|
const VERSION$9$1 = "da21e889922062e90012ba48c4a733e2";
|
|
37375
37396
|
const RepresentationType$9 = 'SearchResultsSummaryRepresentation';
|
|
37376
37397
|
function keyBuilder$g$1(luvio, config) {
|
|
37377
|
-
return keyPrefix$
|
|
37398
|
+
return keyPrefix$2 + '::' + RepresentationType$9 + ':' + config.query;
|
|
37378
37399
|
}
|
|
37379
37400
|
function keyBuilderFromType$6(luvio, object) {
|
|
37380
37401
|
const keyParams = {
|
|
@@ -37409,7 +37430,7 @@ function getTypeCacheKeys$9$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
37409
37430
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37410
37431
|
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
37411
37432
|
rootKeySet.set(rootKey, {
|
|
37412
|
-
namespace: keyPrefix$
|
|
37433
|
+
namespace: keyPrefix$2,
|
|
37413
37434
|
representationName: RepresentationType$9,
|
|
37414
37435
|
mergeable: false
|
|
37415
37436
|
});
|
|
@@ -37443,7 +37464,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
37443
37464
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37444
37465
|
const storeMetadataParams = {
|
|
37445
37466
|
ttl: TTL$6,
|
|
37446
|
-
namespace: keyPrefix$
|
|
37467
|
+
namespace: keyPrefix$2,
|
|
37447
37468
|
version: VERSION$9$1,
|
|
37448
37469
|
representationName: RepresentationType$9
|
|
37449
37470
|
};
|
|
@@ -37549,7 +37570,7 @@ const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResul
|
|
|
37549
37570
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
|
|
37550
37571
|
};
|
|
37551
37572
|
|
|
37552
|
-
function validate$
|
|
37573
|
+
function validate$b(obj, path = 'SearchFilterInputRepresentation') {
|
|
37553
37574
|
const v_error = (() => {
|
|
37554
37575
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
37555
37576
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37622,7 +37643,7 @@ const TTL$5 = 200;
|
|
|
37622
37643
|
const VERSION$8$1 = "168255e2d3a26e867c3fb9cee0165537";
|
|
37623
37644
|
const RepresentationType$8 = 'KeywordSearchResultsSummaryRepresentation';
|
|
37624
37645
|
function keyBuilder$d$1(luvio, config) {
|
|
37625
|
-
return keyPrefix$
|
|
37646
|
+
return keyPrefix$2 + '::' + RepresentationType$8 + ':' + config.query + ':' + config.objectApiName;
|
|
37626
37647
|
}
|
|
37627
37648
|
function keyBuilderFromType$5(luvio, object) {
|
|
37628
37649
|
const keyParams = {
|
|
@@ -37658,7 +37679,7 @@ function getTypeCacheKeys$8$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
37658
37679
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37659
37680
|
const rootKey = keyBuilderFromType$5(luvio, input);
|
|
37660
37681
|
rootKeySet.set(rootKey, {
|
|
37661
|
-
namespace: keyPrefix$
|
|
37682
|
+
namespace: keyPrefix$2,
|
|
37662
37683
|
representationName: RepresentationType$8,
|
|
37663
37684
|
mergeable: false
|
|
37664
37685
|
});
|
|
@@ -37693,7 +37714,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
37693
37714
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37694
37715
|
const storeMetadataParams = {
|
|
37695
37716
|
ttl: TTL$5,
|
|
37696
|
-
namespace: keyPrefix$
|
|
37717
|
+
namespace: keyPrefix$2,
|
|
37697
37718
|
version: VERSION$8$1,
|
|
37698
37719
|
representationName: RepresentationType$8
|
|
37699
37720
|
};
|
|
@@ -37737,7 +37758,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
37737
37758
|
const untrustedConfig_filters_array = [];
|
|
37738
37759
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
37739
37760
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
37740
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
37761
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$b(untrustedConfig_filters_item);
|
|
37741
37762
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
37742
37763
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
37743
37764
|
}
|
|
@@ -38090,7 +38111,7 @@ function createResourceRequest$a(config) {
|
|
|
38090
38111
|
};
|
|
38091
38112
|
}
|
|
38092
38113
|
|
|
38093
|
-
function validate$
|
|
38114
|
+
function validate$9(obj, path = 'RecordLayoutUserStateInputRepresentation') {
|
|
38094
38115
|
const v_error = (() => {
|
|
38095
38116
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38096
38117
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38180,7 +38201,7 @@ function coerceConfigWithDefaults$1(untrusted, layoutUserStateInput) {
|
|
|
38180
38201
|
throw new Error(`@wire(updateLayoutUserState) invalid configuration ${stringify$8(untrusted)}`);
|
|
38181
38202
|
}
|
|
38182
38203
|
// This will throw if layoutUserStateInput is not a valid input
|
|
38183
|
-
validate$
|
|
38204
|
+
validate$9(layoutUserStateInput, 'layoutUserStateInput');
|
|
38184
38205
|
return {
|
|
38185
38206
|
...config,
|
|
38186
38207
|
layoutUserStateInput: layoutUserStateInput,
|
|
@@ -38237,6 +38258,14 @@ function buildNetworkSnapshot$9(luvio, config, options, cacheSnapshot) {
|
|
|
38237
38258
|
if (sortBy && typeof sortBy === 'string') {
|
|
38238
38259
|
response.body.sortBy = sortBy.split(',');
|
|
38239
38260
|
}
|
|
38261
|
+
// Hand-rolling: The server returns sortBy as null for MRU when we don't pass it as a parameter.
|
|
38262
|
+
// Changing server response to avoid key mismatch
|
|
38263
|
+
const listViewApiName = body.listReference && body.listReference.listViewApiName
|
|
38264
|
+
? body.listReference.listViewApiName
|
|
38265
|
+
: null;
|
|
38266
|
+
if (listViewApiName === '__Recent' && !sortBy) {
|
|
38267
|
+
response.body.sortBy = [];
|
|
38268
|
+
}
|
|
38240
38269
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2$1(luvio, config, resourceParams, response), () => {
|
|
38241
38270
|
const cache = new StoreKeyMap();
|
|
38242
38271
|
getResponseCacheKeys$T(cache, luvio, resourceParams, response.body);
|
|
@@ -38411,7 +38440,7 @@ function onFetchResponseSuccess$2$1(luvio, config, resourceParams, response) {
|
|
|
38411
38440
|
return onFetchResponseSuccess$3(luvio, config, resourceParams, response);
|
|
38412
38441
|
}
|
|
38413
38442
|
|
|
38414
|
-
const contextId$4 = `${keyPrefix$
|
|
38443
|
+
const contextId$4 = `${keyPrefix$2}__${adapterName$7}`;
|
|
38415
38444
|
const factory$a = (luvio) => {
|
|
38416
38445
|
return luvio.withContext(function UiApi__getListRecordsByName(untrustedConfig, adapterContext, requestContext) {
|
|
38417
38446
|
const config = validateAdapterConfig$a(untrustedConfig, getListRecordsByName_ConfigPropertyNames);
|
|
@@ -38424,6 +38453,84 @@ const factory$a = (luvio) => {
|
|
|
38424
38453
|
}, { contextId: contextId$4 });
|
|
38425
38454
|
};
|
|
38426
38455
|
|
|
38456
|
+
function validate$8(obj, path = 'RecordInputRepresentation') {
|
|
38457
|
+
const v_error = (() => {
|
|
38458
|
+
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38459
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
38460
|
+
}
|
|
38461
|
+
if (obj.allowSaveOnDuplicate !== undefined) {
|
|
38462
|
+
const obj_allowSaveOnDuplicate = obj.allowSaveOnDuplicate;
|
|
38463
|
+
const path_allowSaveOnDuplicate = path + '.allowSaveOnDuplicate';
|
|
38464
|
+
if (typeof obj_allowSaveOnDuplicate !== 'boolean') {
|
|
38465
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_allowSaveOnDuplicate + '" (at "' + path_allowSaveOnDuplicate + '")');
|
|
38466
|
+
}
|
|
38467
|
+
}
|
|
38468
|
+
if (obj.apiName !== undefined) {
|
|
38469
|
+
const obj_apiName = obj.apiName;
|
|
38470
|
+
const path_apiName = path + '.apiName';
|
|
38471
|
+
if (typeof obj_apiName !== 'string') {
|
|
38472
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
38473
|
+
}
|
|
38474
|
+
}
|
|
38475
|
+
const obj_fields = obj.fields;
|
|
38476
|
+
const path_fields = path + '.fields';
|
|
38477
|
+
if (typeof obj_fields !== 'object' || ArrayIsArray$2(obj_fields) || obj_fields === null) {
|
|
38478
|
+
return new TypeError('Expected "object" but received "' + typeof obj_fields + '" (at "' + path_fields + '")');
|
|
38479
|
+
}
|
|
38480
|
+
const obj_fields_keys = ObjectKeys$2(obj_fields);
|
|
38481
|
+
for (let i = 0; i < obj_fields_keys.length; i++) {
|
|
38482
|
+
const key = obj_fields_keys[i];
|
|
38483
|
+
const obj_fields_prop = obj_fields[key];
|
|
38484
|
+
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
38485
|
+
let obj_fields_prop_union0 = null;
|
|
38486
|
+
const obj_fields_prop_union0_error = (() => {
|
|
38487
|
+
if (typeof obj_fields_prop !== 'string') {
|
|
38488
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
38489
|
+
}
|
|
38490
|
+
})();
|
|
38491
|
+
if (obj_fields_prop_union0_error != null) {
|
|
38492
|
+
obj_fields_prop_union0 = obj_fields_prop_union0_error.message;
|
|
38493
|
+
}
|
|
38494
|
+
let obj_fields_prop_union1 = null;
|
|
38495
|
+
const obj_fields_prop_union1_error = (() => {
|
|
38496
|
+
if (typeof obj_fields_prop !== 'number') {
|
|
38497
|
+
return new TypeError('Expected "number" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
38498
|
+
}
|
|
38499
|
+
})();
|
|
38500
|
+
if (obj_fields_prop_union1_error != null) {
|
|
38501
|
+
obj_fields_prop_union1 = obj_fields_prop_union1_error.message;
|
|
38502
|
+
}
|
|
38503
|
+
let obj_fields_prop_union2 = null;
|
|
38504
|
+
const obj_fields_prop_union2_error = (() => {
|
|
38505
|
+
if (obj_fields_prop !== null) {
|
|
38506
|
+
return new TypeError('Expected "null" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
38507
|
+
}
|
|
38508
|
+
})();
|
|
38509
|
+
if (obj_fields_prop_union2_error != null) {
|
|
38510
|
+
obj_fields_prop_union2 = obj_fields_prop_union2_error.message;
|
|
38511
|
+
}
|
|
38512
|
+
let obj_fields_prop_union3 = null;
|
|
38513
|
+
const obj_fields_prop_union3_error = (() => {
|
|
38514
|
+
if (typeof obj_fields_prop !== 'boolean') {
|
|
38515
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
38516
|
+
}
|
|
38517
|
+
})();
|
|
38518
|
+
if (obj_fields_prop_union3_error != null) {
|
|
38519
|
+
obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
|
|
38520
|
+
}
|
|
38521
|
+
if (obj_fields_prop_union0 && obj_fields_prop_union1 && obj_fields_prop_union2 && obj_fields_prop_union3) {
|
|
38522
|
+
let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
|
|
38523
|
+
message += '\n' + obj_fields_prop_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
38524
|
+
message += '\n' + obj_fields_prop_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
38525
|
+
message += '\n' + obj_fields_prop_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
38526
|
+
message += '\n' + obj_fields_prop_union3.split('\n').map((line) => '\t' + line).join('\n');
|
|
38527
|
+
return new TypeError(message);
|
|
38528
|
+
}
|
|
38529
|
+
}
|
|
38530
|
+
})();
|
|
38531
|
+
return v_error === undefined ? null : v_error;
|
|
38532
|
+
}
|
|
38533
|
+
|
|
38427
38534
|
const VERSION$7$1 = "022d5de1337ec512acb4af43b75ea5e6";
|
|
38428
38535
|
const RepresentationType$7 = 'LookupValuesRepresentation';
|
|
38429
38536
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
@@ -38483,7 +38590,7 @@ function getTypeCacheKeys$7$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
38483
38590
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
38484
38591
|
const rootKey = fullPathFactory();
|
|
38485
38592
|
rootKeySet.set(rootKey, {
|
|
38486
|
-
namespace: keyPrefix$
|
|
38593
|
+
namespace: keyPrefix$2,
|
|
38487
38594
|
representationName: RepresentationType$7,
|
|
38488
38595
|
mergeable: false
|
|
38489
38596
|
});
|
|
@@ -38587,7 +38694,7 @@ const select$4$1 = (luvio, params, response) => {
|
|
|
38587
38694
|
};
|
|
38588
38695
|
|
|
38589
38696
|
function keyBuilder$9$1(luvio, params) {
|
|
38590
|
-
return keyPrefix$
|
|
38697
|
+
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) + ')';
|
|
38591
38698
|
}
|
|
38592
38699
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
38593
38700
|
getTypeCacheKeys$7$1(storeKeyMap, luvio, response, () => keyBuilder$9$1(luvio, resourceParams));
|
|
@@ -38603,8 +38710,8 @@ function createResourceRequest$9(config) {
|
|
|
38603
38710
|
return {
|
|
38604
38711
|
baseUri: '/services/data/v60.0',
|
|
38605
38712
|
basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
|
|
38606
|
-
method: '
|
|
38607
|
-
body:
|
|
38713
|
+
method: 'post',
|
|
38714
|
+
body: config.body,
|
|
38608
38715
|
urlParams: config.urlParams,
|
|
38609
38716
|
queryParams: config.queryParams,
|
|
38610
38717
|
headers,
|
|
@@ -38637,6 +38744,7 @@ const getLookupRecords_ConfigPropertyMetadata = [
|
|
|
38637
38744
|
generateParamConfigMetadata$2('searchType', false, 1 /* QueryParameter */, 0 /* String */),
|
|
38638
38745
|
generateParamConfigMetadata$2('sourceRecordId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
38639
38746
|
generateParamConfigMetadata$2('targetApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
38747
|
+
generateParamConfigMetadata$2('sourceRecord', false, 2 /* Body */, 4 /* Unsupported */),
|
|
38640
38748
|
];
|
|
38641
38749
|
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$Z(getLookupRecords_ConfigPropertyMetadata);
|
|
38642
38750
|
function keyBuilder$8$1(luvio, config) {
|
|
@@ -38646,6 +38754,14 @@ function keyBuilder$8$1(luvio, config) {
|
|
|
38646
38754
|
function typeCheckConfig$a(untrustedConfig) {
|
|
38647
38755
|
const config = {};
|
|
38648
38756
|
typeCheckConfig$12(untrustedConfig, config, getLookupRecords_ConfigPropertyMetadata);
|
|
38757
|
+
const untrustedConfig_sourceRecord = untrustedConfig.sourceRecord;
|
|
38758
|
+
const referenceRecordInputRepresentationValidationError = validate$8(untrustedConfig_sourceRecord);
|
|
38759
|
+
if (referenceRecordInputRepresentationValidationError === null) {
|
|
38760
|
+
config.sourceRecord = untrustedConfig_sourceRecord;
|
|
38761
|
+
}
|
|
38762
|
+
if (untrustedConfig_sourceRecord === null) {
|
|
38763
|
+
config.sourceRecord = untrustedConfig_sourceRecord;
|
|
38764
|
+
}
|
|
38649
38765
|
return config;
|
|
38650
38766
|
}
|
|
38651
38767
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -38692,7 +38808,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
38692
38808
|
});
|
|
38693
38809
|
}
|
|
38694
38810
|
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
38695
|
-
return buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext, buildNetworkSnapshot$8,
|
|
38811
|
+
return buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, 'get', false);
|
|
38696
38812
|
}
|
|
38697
38813
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
38698
38814
|
const { luvio, config } = context;
|
|
@@ -38742,6 +38858,10 @@ function coerceRequestParams(untrusted) {
|
|
|
38742
38858
|
if (targetApiName !== undefined) {
|
|
38743
38859
|
coercedConfig.targetApiName = targetApiName;
|
|
38744
38860
|
}
|
|
38861
|
+
const sourceRecord = requestParams.sourceRecord;
|
|
38862
|
+
if (sourceRecord !== undefined) {
|
|
38863
|
+
coercedConfig.sourceRecord = sourceRecord;
|
|
38864
|
+
}
|
|
38745
38865
|
return coercedConfig;
|
|
38746
38866
|
}
|
|
38747
38867
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -38759,7 +38879,7 @@ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
|
38759
38879
|
};
|
|
38760
38880
|
}
|
|
38761
38881
|
|
|
38762
|
-
const contextId$3 = `${keyPrefix$
|
|
38882
|
+
const contextId$3 = `${keyPrefix$2}__${adapterName$6}`;
|
|
38763
38883
|
const paramNames = {
|
|
38764
38884
|
displayName: 'getLookupRecords',
|
|
38765
38885
|
parameters: {
|
|
@@ -39000,7 +39120,7 @@ function getTypeCacheKeys$6$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
39000
39120
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39001
39121
|
const rootKey = fullPathFactory();
|
|
39002
39122
|
rootKeySet.set(rootKey, {
|
|
39003
|
-
namespace: keyPrefix$
|
|
39123
|
+
namespace: keyPrefix$2,
|
|
39004
39124
|
representationName: RepresentationType$6,
|
|
39005
39125
|
mergeable: false
|
|
39006
39126
|
});
|
|
@@ -39109,7 +39229,7 @@ function getTypeCacheKeys$5$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
39109
39229
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39110
39230
|
const rootKey = fullPathFactory();
|
|
39111
39231
|
rootKeySet.set(rootKey, {
|
|
39112
|
-
namespace: keyPrefix$
|
|
39232
|
+
namespace: keyPrefix$2,
|
|
39113
39233
|
representationName: RepresentationType$5,
|
|
39114
39234
|
mergeable: false
|
|
39115
39235
|
});
|
|
@@ -39127,7 +39247,7 @@ function getTypeCacheKeys$5$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
39127
39247
|
}
|
|
39128
39248
|
|
|
39129
39249
|
function keyBuilder$7$1(luvio, params) {
|
|
39130
|
-
return keyPrefix$
|
|
39250
|
+
return keyPrefix$2 + '::RecordDefaultsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
39131
39251
|
}
|
|
39132
39252
|
function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
39133
39253
|
getTypeCacheKeys$5$1(storeKeyMap, luvio, response, () => keyBuilder$7$1(luvio, resourceParams));
|
|
@@ -39172,7 +39292,7 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
|
39172
39292
|
return config;
|
|
39173
39293
|
}
|
|
39174
39294
|
|
|
39175
|
-
const contextId$2 = `${keyPrefix$
|
|
39295
|
+
const contextId$2 = `${keyPrefix$2}__${adapterName$4$1}`;
|
|
39176
39296
|
const layoutSelections = select$1A();
|
|
39177
39297
|
const objectInfoSelections = select$1C();
|
|
39178
39298
|
function buildSelector(resp) {
|
|
@@ -39324,7 +39444,7 @@ const TTL$3$1 = 1000;
|
|
|
39324
39444
|
const VERSION$4$1 = "6a63c9ca6dda2e125d94e004f83240d8";
|
|
39325
39445
|
const RepresentationType$4 = 'RecordTemplateCloneRepresentation';
|
|
39326
39446
|
function keyBuilder$6$1(luvio, config) {
|
|
39327
|
-
return keyPrefix$
|
|
39447
|
+
return keyPrefix$2 + '::' + RepresentationType$4 + ':' + config.cloneSourceId + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
39328
39448
|
}
|
|
39329
39449
|
function keyBuilderFromType$4(luvio, object) {
|
|
39330
39450
|
const keyParams = {
|
|
@@ -39444,7 +39564,7 @@ function getTypeCacheKeys$4$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
39444
39564
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39445
39565
|
const rootKey = keyBuilderFromType$4(luvio, input);
|
|
39446
39566
|
rootKeySet.set(rootKey, {
|
|
39447
|
-
namespace: keyPrefix$
|
|
39567
|
+
namespace: keyPrefix$2,
|
|
39448
39568
|
representationName: RepresentationType$4,
|
|
39449
39569
|
mergeable: false
|
|
39450
39570
|
});
|
|
@@ -39469,7 +39589,7 @@ const TTL$2$1 = 1000;
|
|
|
39469
39589
|
const VERSION$3$1 = "b352a734f919895e97682703b486b649";
|
|
39470
39590
|
const RepresentationType$3$1 = 'RecordDefaultsTemplateCloneRepresentation';
|
|
39471
39591
|
function keyBuilder$5$1(luvio, config) {
|
|
39472
|
-
return keyPrefix$
|
|
39592
|
+
return keyPrefix$2 + '::' + RepresentationType$3$1 + ':' + config.cloneSourceId + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
39473
39593
|
}
|
|
39474
39594
|
function keyBuilderFromType$3(luvio, object) {
|
|
39475
39595
|
const keyParams = {
|
|
@@ -39558,7 +39678,7 @@ function getTypeCacheKeys$3$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
39558
39678
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39559
39679
|
const rootKey = keyBuilderFromType$3(luvio, input);
|
|
39560
39680
|
rootKeySet.set(rootKey, {
|
|
39561
|
-
namespace: keyPrefix$
|
|
39681
|
+
namespace: keyPrefix$2,
|
|
39562
39682
|
representationName: RepresentationType$3$1,
|
|
39563
39683
|
mergeable: false
|
|
39564
39684
|
});
|
|
@@ -39701,13 +39821,13 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
|
39701
39821
|
return config;
|
|
39702
39822
|
}
|
|
39703
39823
|
|
|
39704
|
-
const contextId$1 = `${keyPrefix$
|
|
39824
|
+
const contextId$1 = `${keyPrefix$2}__${adapterName$3$1}`;
|
|
39705
39825
|
const DEFAULT_RECORD_TYPE_ID_KEY = 'defaultRecordTypeId';
|
|
39706
39826
|
const RECORD_TEMPLATE_CLONE_ERROR_VERSION = 'RECORD_TEMPLATE_CLONE_ERROR_VERSION_1';
|
|
39707
39827
|
const RECORD_TEMPLATE_CLONE_ERROR_STORE_METADATA_PARAMS = {
|
|
39708
39828
|
ttl: TTL$2$1,
|
|
39709
39829
|
representationName: '',
|
|
39710
|
-
namespace: keyPrefix$
|
|
39830
|
+
namespace: keyPrefix$2,
|
|
39711
39831
|
version: RECORD_TEMPLATE_CLONE_ERROR_VERSION,
|
|
39712
39832
|
};
|
|
39713
39833
|
function saveDefaultRecordTypeId(context, objectInfo) {
|
|
@@ -39862,7 +39982,7 @@ const TTL$1$1 = 30000;
|
|
|
39862
39982
|
const VERSION$2$1 = "665de0fdde39efd6f1098e374117ef58";
|
|
39863
39983
|
const RepresentationType$2$1 = 'RecordTemplateCreateRepresentation';
|
|
39864
39984
|
function keyBuilder$4$1(luvio, config) {
|
|
39865
|
-
return keyPrefix$
|
|
39985
|
+
return keyPrefix$2 + '::' + RepresentationType$2$1 + ':' + config.apiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
39866
39986
|
}
|
|
39867
39987
|
function keyBuilderFromType$2(luvio, object) {
|
|
39868
39988
|
const keyParams = {
|
|
@@ -39969,7 +40089,7 @@ function getTypeCacheKeys$2$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
39969
40089
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39970
40090
|
const rootKey = keyBuilderFromType$2(luvio, input);
|
|
39971
40091
|
rootKeySet.set(rootKey, {
|
|
39972
|
-
namespace: keyPrefix$
|
|
40092
|
+
namespace: keyPrefix$2,
|
|
39973
40093
|
representationName: RepresentationType$2$1,
|
|
39974
40094
|
mergeable: false
|
|
39975
40095
|
});
|
|
@@ -39994,7 +40114,7 @@ const TTL$z = 900000;
|
|
|
39994
40114
|
const VERSION$1$1 = "30493e7ac0677e35242026bb959c079e";
|
|
39995
40115
|
const RepresentationType$1$1 = 'RecordDefaultsTemplateCreateRepresentation';
|
|
39996
40116
|
function keyBuilder$3$1(luvio, config) {
|
|
39997
|
-
return keyPrefix$
|
|
40117
|
+
return keyPrefix$2 + '::' + RepresentationType$1$1 + ':' + config.objectApiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
39998
40118
|
}
|
|
39999
40119
|
function keyBuilderFromType$1(luvio, object) {
|
|
40000
40120
|
const keyParams = {
|
|
@@ -40083,7 +40203,7 @@ function getTypeCacheKeys$1$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
40083
40203
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
40084
40204
|
const rootKey = keyBuilderFromType$1(luvio, input);
|
|
40085
40205
|
rootKeySet.set(rootKey, {
|
|
40086
|
-
namespace: keyPrefix$
|
|
40206
|
+
namespace: keyPrefix$2,
|
|
40087
40207
|
representationName: RepresentationType$1$1,
|
|
40088
40208
|
mergeable: false
|
|
40089
40209
|
});
|
|
@@ -40185,7 +40305,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
40185
40305
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
40186
40306
|
const storeMetadataParams = {
|
|
40187
40307
|
ttl: TTL$z,
|
|
40188
|
-
namespace: keyPrefix$
|
|
40308
|
+
namespace: keyPrefix$2,
|
|
40189
40309
|
version: VERSION$1$1,
|
|
40190
40310
|
representationName: RepresentationType$1$1
|
|
40191
40311
|
};
|
|
@@ -40236,7 +40356,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
|
40236
40356
|
return config;
|
|
40237
40357
|
}
|
|
40238
40358
|
|
|
40239
|
-
const contextId = `${keyPrefix$
|
|
40359
|
+
const contextId = `${keyPrefix$2}__${adapterName$2$1}`;
|
|
40240
40360
|
function buildSnapshotRefresh$6(luvio, context, config) {
|
|
40241
40361
|
return {
|
|
40242
40362
|
config,
|
|
@@ -40481,7 +40601,7 @@ function keyBuilder$1$1(luvio, params) {
|
|
|
40481
40601
|
function getResponseCacheKeys$2$1(cacheKeyMap, luvio, resourceParams) {
|
|
40482
40602
|
const key = keyBuilder$1$1(luvio, resourceParams);
|
|
40483
40603
|
cacheKeyMap.set(key, {
|
|
40484
|
-
namespace: keyPrefix$
|
|
40604
|
+
namespace: keyPrefix$2,
|
|
40485
40605
|
representationName: RepresentationType$O,
|
|
40486
40606
|
mergeable: false
|
|
40487
40607
|
});
|
|
@@ -40725,7 +40845,7 @@ const factory$2 = (luvio) => {
|
|
|
40725
40845
|
const VERSION$1p = "5f97eb4f2c3f805ef9d98ba7f0530b3e";
|
|
40726
40846
|
const RepresentationType$S = 'ContentDocumentCompositeRepresentation';
|
|
40727
40847
|
function keyBuilder$1W(luvio, config) {
|
|
40728
|
-
return keyPrefix$
|
|
40848
|
+
return keyPrefix$2 + '::' + RepresentationType$S + ':' + config.contentDocumentId;
|
|
40729
40849
|
}
|
|
40730
40850
|
function keyBuilderFromType$B(luvio, object) {
|
|
40731
40851
|
const keyParams = {
|
|
@@ -40809,7 +40929,7 @@ function getTypeCacheKeys$18(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
40809
40929
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
40810
40930
|
const rootKey = keyBuilderFromType$B(luvio, input);
|
|
40811
40931
|
rootKeySet.set(rootKey, {
|
|
40812
|
-
namespace: keyPrefix$
|
|
40932
|
+
namespace: keyPrefix$2,
|
|
40813
40933
|
representationName: RepresentationType$S,
|
|
40814
40934
|
mergeable: false
|
|
40815
40935
|
});
|
|
@@ -41276,55 +41396,55 @@ let getSearchFilterMetadata_imperative;
|
|
|
41276
41396
|
let getSearchFilterOptions_imperative;
|
|
41277
41397
|
let getSearchResults_imperative;
|
|
41278
41398
|
// Adapter Metadata
|
|
41279
|
-
const getActionOverridesMetadata = { apiFamily: keyPrefix$
|
|
41280
|
-
const getAllAppsMetadata = { apiFamily: keyPrefix$
|
|
41281
|
-
const getAppDetailsMetadata = { apiFamily: keyPrefix$
|
|
41282
|
-
const getDuplicateConfigurationMetadata = { apiFamily: keyPrefix$
|
|
41283
|
-
const getDuplicatesMetadata = { apiFamily: keyPrefix$
|
|
41284
|
-
const getGlobalActionsMetadata = { apiFamily: keyPrefix$
|
|
41285
|
-
const getKeywordSearchResultsMetadata = { apiFamily: keyPrefix$
|
|
41286
|
-
const getLayoutMetadata = { apiFamily: keyPrefix$
|
|
41287
|
-
const getLayoutUserStateMetadata = { apiFamily: keyPrefix$
|
|
41288
|
-
const getListInfoByNameMetadata = { apiFamily: keyPrefix$
|
|
41289
|
-
const getListInfosByNameMetadata = { apiFamily: keyPrefix$
|
|
41290
|
-
const getListObjectInfoMetadata = { apiFamily: keyPrefix$
|
|
41291
|
-
const getListRecordsByNameMetadata = { apiFamily: keyPrefix$
|
|
41292
|
-
const getListUiMetadata = { apiFamily: keyPrefix$
|
|
41293
|
-
const getLookupActionsMetadata = { apiFamily: keyPrefix$
|
|
41294
|
-
const getLookupMetadataMetadata = { apiFamily: keyPrefix$
|
|
41295
|
-
const getLookupRecordsMetadata = { apiFamily: keyPrefix$
|
|
41296
|
-
const getNavItemsMetadata = { apiFamily: keyPrefix$
|
|
41297
|
-
const getObjectCreateActionsMetadata = { apiFamily: keyPrefix$
|
|
41298
|
-
const getObjectInfoMetadata = { apiFamily: keyPrefix$
|
|
41299
|
-
const getObjectInfosMetadata = { apiFamily: keyPrefix$
|
|
41300
|
-
const getPicklistValuesMetadata = { apiFamily: keyPrefix$
|
|
41301
|
-
const getPicklistValuesByRecordTypeMetadata = { apiFamily: keyPrefix$
|
|
41302
|
-
const getQuickActionDefaultsMetadata = { apiFamily: keyPrefix$
|
|
41303
|
-
const getQuickActionLayoutMetadata = { apiFamily: keyPrefix$
|
|
41304
|
-
const getRecordMetadata = { apiFamily: keyPrefix$
|
|
41305
|
-
const getRecordActionsMetadata = { apiFamily: keyPrefix$
|
|
41306
|
-
const getRecordAvatarsMetadata = { apiFamily: keyPrefix$
|
|
41307
|
-
const getRecordCreateDefaultsMetadata = { apiFamily: keyPrefix$
|
|
41308
|
-
const getRecordEditActionsMetadata = { apiFamily: keyPrefix$
|
|
41309
|
-
const getRecordTemplateCloneMetadata = { apiFamily: keyPrefix$
|
|
41310
|
-
const getRecordTemplateCreateMetadata = { apiFamily: keyPrefix$
|
|
41311
|
-
const getRecordUiMetadata = { apiFamily: keyPrefix$
|
|
41312
|
-
const getRecordsMetadata = { apiFamily: keyPrefix$
|
|
41313
|
-
const getRelatedListActionsMetadata = { apiFamily: keyPrefix$
|
|
41314
|
-
const getRelatedListCountMetadata = { apiFamily: keyPrefix$
|
|
41315
|
-
const getRelatedListInfoMetadata = { apiFamily: keyPrefix$
|
|
41316
|
-
const getRelatedListInfoBatchMetadata = { apiFamily: keyPrefix$
|
|
41317
|
-
const getRelatedListPreferencesMetadata = { apiFamily: keyPrefix$
|
|
41318
|
-
const getRelatedListPreferencesBatchMetadata = { apiFamily: keyPrefix$
|
|
41319
|
-
const getRelatedListRecordActionsMetadata = { apiFamily: keyPrefix$
|
|
41320
|
-
const getRelatedListRecordsMetadata = { apiFamily: keyPrefix$
|
|
41321
|
-
const getRelatedListRecordsBatchMetadata = { apiFamily: keyPrefix$
|
|
41322
|
-
const getRelatedListsActionsMetadata = { apiFamily: keyPrefix$
|
|
41323
|
-
const getRelatedListsCountMetadata = { apiFamily: keyPrefix$
|
|
41324
|
-
const getRelatedListsInfoMetadata = { apiFamily: keyPrefix$
|
|
41325
|
-
const getSearchFilterMetadataMetadata = { apiFamily: keyPrefix$
|
|
41326
|
-
const getSearchFilterOptionsMetadata = { apiFamily: keyPrefix$
|
|
41327
|
-
const getSearchResultsMetadata = { apiFamily: keyPrefix$
|
|
41399
|
+
const getActionOverridesMetadata = { apiFamily: keyPrefix$2, name: adapterName$N };
|
|
41400
|
+
const getAllAppsMetadata = { apiFamily: keyPrefix$2, name: adapterName$G, ttl: 300000 };
|
|
41401
|
+
const getAppDetailsMetadata = { apiFamily: keyPrefix$2, name: adapterName$F, ttl: 300000 };
|
|
41402
|
+
const getDuplicateConfigurationMetadata = { apiFamily: keyPrefix$2, name: adapterName$E, ttl: 900000 };
|
|
41403
|
+
const getDuplicatesMetadata = { apiFamily: keyPrefix$2, name: adapterName$s, ttl: 30000 };
|
|
41404
|
+
const getGlobalActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$R$1, ttl: 300000 };
|
|
41405
|
+
const getKeywordSearchResultsMetadata = { apiFamily: keyPrefix$2, name: adapterName$a, ttl: 200 };
|
|
41406
|
+
const getLayoutMetadata = { apiFamily: keyPrefix$2, name: adapterName$D, ttl: 900000 };
|
|
41407
|
+
const getLayoutUserStateMetadata = { apiFamily: keyPrefix$2, name: adapterName$C, ttl: 900000 };
|
|
41408
|
+
const getListInfoByNameMetadata = { apiFamily: keyPrefix$2, name: adapterName$z, ttl: 900000 };
|
|
41409
|
+
const getListInfosByNameMetadata = { apiFamily: keyPrefix$2, name: adapterName$B };
|
|
41410
|
+
const getListObjectInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$x, ttl: 900000 };
|
|
41411
|
+
const getListRecordsByNameMetadata = { apiFamily: keyPrefix$2, name: 'getListRecordsByName', ttl: 30000 };
|
|
41412
|
+
const getListUiMetadata = { apiFamily: keyPrefix$2, name: 'getListUi', ttl: 900000 };
|
|
41413
|
+
const getLookupActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$P, ttl: 300000 };
|
|
41414
|
+
const getLookupMetadataMetadata = { apiFamily: keyPrefix$2, name: adapterName$c, ttl: 30000 };
|
|
41415
|
+
const getLookupRecordsMetadata = { apiFamily: keyPrefix$2, name: 'getLookupRecords' };
|
|
41416
|
+
const getNavItemsMetadata = { apiFamily: keyPrefix$2, name: adapterName$w, ttl: 120000 };
|
|
41417
|
+
const getObjectCreateActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$O, ttl: 300000 };
|
|
41418
|
+
const getObjectInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$S, ttl: 900000 };
|
|
41419
|
+
const getObjectInfosMetadata = { apiFamily: keyPrefix$2, name: adapterName$v };
|
|
41420
|
+
const getPicklistValuesMetadata = { apiFamily: keyPrefix$2, name: adapterName$t, ttl: 900000 };
|
|
41421
|
+
const getPicklistValuesByRecordTypeMetadata = { apiFamily: keyPrefix$2, name: adapterName$u, ttl: 300000 };
|
|
41422
|
+
const getQuickActionDefaultsMetadata = { apiFamily: keyPrefix$2, name: adapterName$M, ttl: 900000 };
|
|
41423
|
+
const getQuickActionLayoutMetadata = { apiFamily: keyPrefix$2, name: adapterName$Q, ttl: 900000 };
|
|
41424
|
+
const getRecordMetadata = { apiFamily: keyPrefix$2, name: 'getRecord', ttl: 30000 };
|
|
41425
|
+
const getRecordActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$L, ttl: 300000 };
|
|
41426
|
+
const getRecordAvatarsMetadata = { apiFamily: keyPrefix$2, name: adapterName$r, ttl: 300000 };
|
|
41427
|
+
const getRecordCreateDefaultsMetadata = { apiFamily: keyPrefix$2, name: 'getRecordCreateDefaults', ttl: 900000 };
|
|
41428
|
+
const getRecordEditActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$K, ttl: 300000 };
|
|
41429
|
+
const getRecordTemplateCloneMetadata = { apiFamily: keyPrefix$2, name: 'getRecordTemplateClone', ttl: 1000 };
|
|
41430
|
+
const getRecordTemplateCreateMetadata = { apiFamily: keyPrefix$2, name: 'getRecordTemplateCreate', ttl: 900000 };
|
|
41431
|
+
const getRecordUiMetadata = { apiFamily: keyPrefix$2, name: 'getRecordUi', ttl: 900000 };
|
|
41432
|
+
const getRecordsMetadata = { apiFamily: keyPrefix$2, name: adapterName$q };
|
|
41433
|
+
const getRelatedListActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$I, ttl: 300000 };
|
|
41434
|
+
const getRelatedListCountMetadata = { apiFamily: keyPrefix$2, name: adapterName$o };
|
|
41435
|
+
const getRelatedListInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$l, ttl: 900000 };
|
|
41436
|
+
const getRelatedListInfoBatchMetadata = { apiFamily: keyPrefix$2, name: adapterName$n };
|
|
41437
|
+
const getRelatedListPreferencesMetadata = { apiFamily: keyPrefix$2, name: adapterName$i, ttl: 900000 };
|
|
41438
|
+
const getRelatedListPreferencesBatchMetadata = { apiFamily: keyPrefix$2, name: adapterName$j };
|
|
41439
|
+
const getRelatedListRecordActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$H, ttl: 300000 };
|
|
41440
|
+
const getRelatedListRecordsMetadata = { apiFamily: keyPrefix$2, name: adapterName$f, ttl: 30000 };
|
|
41441
|
+
const getRelatedListRecordsBatchMetadata = { apiFamily: keyPrefix$2, name: adapterName$g };
|
|
41442
|
+
const getRelatedListsActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$J };
|
|
41443
|
+
const getRelatedListsCountMetadata = { apiFamily: keyPrefix$2, name: adapterName$p };
|
|
41444
|
+
const getRelatedListsInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$m };
|
|
41445
|
+
const getSearchFilterMetadataMetadata = { apiFamily: keyPrefix$2, name: adapterName$e, ttl: 30000 };
|
|
41446
|
+
const getSearchFilterOptionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$d, ttl: 30000 };
|
|
41447
|
+
const getSearchResultsMetadata = { apiFamily: keyPrefix$2, name: adapterName$b, ttl: 200 };
|
|
41328
41448
|
function bindExportsTo$1(luvio) {
|
|
41329
41449
|
// LDS adapters
|
|
41330
41450
|
const getActionOverrides_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getActionOverrides', getActionOverridesAdapterFactory), getActionOverridesMetadata);
|
|
@@ -41643,7 +41763,7 @@ withDefaultLuvio((luvio) => {
|
|
|
41643
41763
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
41644
41764
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
41645
41765
|
});
|
|
41646
|
-
// version: 1.
|
|
41766
|
+
// version: 1.245.0-df5596041
|
|
41647
41767
|
|
|
41648
41768
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
41649
41769
|
|
|
@@ -46688,20 +46808,20 @@ class AsyncWorkerPool {
|
|
|
46688
46808
|
*/
|
|
46689
46809
|
|
|
46690
46810
|
|
|
46691
|
-
var DraftActionStatus;
|
|
46811
|
+
var DraftActionStatus$1;
|
|
46692
46812
|
(function (DraftActionStatus) {
|
|
46693
46813
|
DraftActionStatus["Pending"] = "pending";
|
|
46694
46814
|
DraftActionStatus["Uploading"] = "uploading";
|
|
46695
46815
|
DraftActionStatus["Error"] = "error";
|
|
46696
46816
|
DraftActionStatus["Completed"] = "completed";
|
|
46697
|
-
})(DraftActionStatus || (DraftActionStatus = {}));
|
|
46817
|
+
})(DraftActionStatus$1 || (DraftActionStatus$1 = {}));
|
|
46698
46818
|
function isDraftError(draft) {
|
|
46699
|
-
return draft.status === DraftActionStatus.Error;
|
|
46819
|
+
return draft.status === DraftActionStatus$1.Error;
|
|
46700
46820
|
}
|
|
46701
46821
|
function isDraftQueueStateChangeEvent(event) {
|
|
46702
|
-
return event.type === DraftQueueEventType.QueueStateChanged;
|
|
46822
|
+
return event.type === DraftQueueEventType$1.QueueStateChanged;
|
|
46703
46823
|
}
|
|
46704
|
-
var ProcessActionResult;
|
|
46824
|
+
var ProcessActionResult$1;
|
|
46705
46825
|
(function (ProcessActionResult) {
|
|
46706
46826
|
// non-2xx network error, requires user intervention
|
|
46707
46827
|
ProcessActionResult["ACTION_ERRORED"] = "ERROR";
|
|
@@ -46717,8 +46837,8 @@ var ProcessActionResult;
|
|
|
46717
46837
|
ProcessActionResult["BLOCKED_ON_ERROR"] = "BLOCKED_ON_ERROR";
|
|
46718
46838
|
//waiting for user to execute custom action
|
|
46719
46839
|
ProcessActionResult["CUSTOM_ACTION_WAITING"] = "CUSTOM_ACTION_WAITING";
|
|
46720
|
-
})(ProcessActionResult || (ProcessActionResult = {}));
|
|
46721
|
-
var DraftQueueState;
|
|
46840
|
+
})(ProcessActionResult$1 || (ProcessActionResult$1 = {}));
|
|
46841
|
+
var DraftQueueState$1;
|
|
46722
46842
|
(function (DraftQueueState) {
|
|
46723
46843
|
/** Currently processing an item in the queue or queue is empty and waiting to process the next item. */
|
|
46724
46844
|
DraftQueueState["Started"] = "started";
|
|
@@ -46737,8 +46857,8 @@ var DraftQueueState;
|
|
|
46737
46857
|
* To attempt to force an upload now call startDraftQueue().
|
|
46738
46858
|
*/
|
|
46739
46859
|
DraftQueueState["Waiting"] = "waiting";
|
|
46740
|
-
})(DraftQueueState || (DraftQueueState = {}));
|
|
46741
|
-
var DraftQueueEventType;
|
|
46860
|
+
})(DraftQueueState$1 || (DraftQueueState$1 = {}));
|
|
46861
|
+
var DraftQueueEventType$1;
|
|
46742
46862
|
(function (DraftQueueEventType) {
|
|
46743
46863
|
/**
|
|
46744
46864
|
* Triggered after an action had been added to the queue
|
|
@@ -46768,13 +46888,13 @@ var DraftQueueEventType;
|
|
|
46768
46888
|
* Triggered after the Draft Queue state changes
|
|
46769
46889
|
*/
|
|
46770
46890
|
DraftQueueEventType["QueueStateChanged"] = "state";
|
|
46771
|
-
})(DraftQueueEventType || (DraftQueueEventType = {}));
|
|
46772
|
-
var QueueOperationType;
|
|
46891
|
+
})(DraftQueueEventType$1 || (DraftQueueEventType$1 = {}));
|
|
46892
|
+
var QueueOperationType$1;
|
|
46773
46893
|
(function (QueueOperationType) {
|
|
46774
46894
|
QueueOperationType["Add"] = "add";
|
|
46775
46895
|
QueueOperationType["Delete"] = "delete";
|
|
46776
46896
|
QueueOperationType["Update"] = "update";
|
|
46777
|
-
})(QueueOperationType || (QueueOperationType = {}));
|
|
46897
|
+
})(QueueOperationType$1 || (QueueOperationType$1 = {}));
|
|
46778
46898
|
|
|
46779
46899
|
class DraftSynthesisError extends Error {
|
|
46780
46900
|
constructor(message, errorType) {
|
|
@@ -46897,7 +47017,7 @@ function generateUniqueDraftActionId(existingIds) {
|
|
|
46897
47017
|
/**
|
|
46898
47018
|
Use Math.random to generate v4 RFC4122 compliant uuid
|
|
46899
47019
|
*/
|
|
46900
|
-
function uuidv4() {
|
|
47020
|
+
function uuidv4$1() {
|
|
46901
47021
|
const uuid = [];
|
|
46902
47022
|
for (let i = 0; i < 32; i++) {
|
|
46903
47023
|
const random = (Math.random() * 16) | 0;
|
|
@@ -46942,7 +47062,7 @@ function buildLuvioOverrideForDraftAdapters(luvio, handler, extractTargetIdFromC
|
|
|
46942
47062
|
const dispatchResourceRequest = async function (resourceRequest, _context) {
|
|
46943
47063
|
const resourceRequestCopy = clone$1(resourceRequest);
|
|
46944
47064
|
resourceRequestCopy.headers = resourceRequestCopy.headers || {};
|
|
46945
|
-
resourceRequestCopy.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
|
|
47065
|
+
resourceRequestCopy.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4$1();
|
|
46946
47066
|
// enable return extra fields for record creation and record update http call
|
|
46947
47067
|
if (resourceRequest.basePath === '/ui-api/records' &&
|
|
46948
47068
|
(resourceRequest.method === 'post' || resourceRequest.method === 'patch')) {
|
|
@@ -47046,26 +47166,26 @@ async function clearDraftIdSegment(durableStore) {
|
|
|
47046
47166
|
}
|
|
47047
47167
|
}
|
|
47048
47168
|
|
|
47049
|
-
var CustomActionResultType;
|
|
47169
|
+
var CustomActionResultType$1;
|
|
47050
47170
|
(function (CustomActionResultType) {
|
|
47051
47171
|
CustomActionResultType["SUCCESS"] = "SUCCESS";
|
|
47052
47172
|
CustomActionResultType["FAILURE"] = "FAILURE";
|
|
47053
|
-
})(CustomActionResultType || (CustomActionResultType = {}));
|
|
47054
|
-
var CustomActionErrorType;
|
|
47173
|
+
})(CustomActionResultType$1 || (CustomActionResultType$1 = {}));
|
|
47174
|
+
var CustomActionErrorType$1;
|
|
47055
47175
|
(function (CustomActionErrorType) {
|
|
47056
47176
|
CustomActionErrorType["NETWORK_ERROR"] = "NETWORK_ERROR";
|
|
47057
47177
|
CustomActionErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
|
|
47058
|
-
})(CustomActionErrorType || (CustomActionErrorType = {}));
|
|
47178
|
+
})(CustomActionErrorType$1 || (CustomActionErrorType$1 = {}));
|
|
47059
47179
|
function isCustomActionSuccess(result) {
|
|
47060
|
-
return result.type === CustomActionResultType.SUCCESS;
|
|
47180
|
+
return result.type === CustomActionResultType$1.SUCCESS;
|
|
47061
47181
|
}
|
|
47062
47182
|
function isCustomActionFailed(result) {
|
|
47063
|
-
return result.type === CustomActionResultType.FAILURE;
|
|
47183
|
+
return result.type === CustomActionResultType$1.FAILURE;
|
|
47064
47184
|
}
|
|
47065
47185
|
function customActionHandler(executor, id, draftQueue) {
|
|
47066
47186
|
const handle = (action, actionCompleted, actionErrored) => {
|
|
47067
47187
|
notifyCustomActionToExecute(action, actionCompleted, actionErrored);
|
|
47068
|
-
return Promise.resolve(ProcessActionResult.CUSTOM_ACTION_WAITING);
|
|
47188
|
+
return Promise.resolve(ProcessActionResult$1.CUSTOM_ACTION_WAITING);
|
|
47069
47189
|
};
|
|
47070
47190
|
const notifyCustomActionToExecute = (action, actionCompleted, actionErrored) => {
|
|
47071
47191
|
if (executor !== undefined) {
|
|
@@ -47076,16 +47196,16 @@ function customActionHandler(executor, id, draftQueue) {
|
|
|
47076
47196
|
if (isCustomActionSuccess(result)) {
|
|
47077
47197
|
actionCompleted({
|
|
47078
47198
|
...action,
|
|
47079
|
-
status: DraftActionStatus.Completed,
|
|
47199
|
+
status: DraftActionStatus$1.Completed,
|
|
47080
47200
|
response: createOkResponse(undefined),
|
|
47081
47201
|
});
|
|
47082
47202
|
}
|
|
47083
47203
|
else if (isCustomActionFailed(result)) {
|
|
47084
47204
|
actionErrored({
|
|
47085
47205
|
...action,
|
|
47086
|
-
status: DraftActionStatus.Error,
|
|
47206
|
+
status: DraftActionStatus$1.Error,
|
|
47087
47207
|
error: result.error.message,
|
|
47088
|
-
}, result.error.type === CustomActionErrorType.NETWORK_ERROR);
|
|
47208
|
+
}, result.error.type === CustomActionErrorType$1.NETWORK_ERROR);
|
|
47089
47209
|
}
|
|
47090
47210
|
};
|
|
47091
47211
|
const buildPendingAction = (action, queue) => {
|
|
@@ -47094,7 +47214,7 @@ function customActionHandler(executor, id, draftQueue) {
|
|
|
47094
47214
|
return Promise.resolve({
|
|
47095
47215
|
id,
|
|
47096
47216
|
targetId,
|
|
47097
|
-
status: DraftActionStatus.Pending,
|
|
47217
|
+
status: DraftActionStatus$1.Pending,
|
|
47098
47218
|
data,
|
|
47099
47219
|
tag,
|
|
47100
47220
|
timestamp: Date.now(),
|
|
@@ -47106,7 +47226,7 @@ function customActionHandler(executor, id, draftQueue) {
|
|
|
47106
47226
|
const { id } = action;
|
|
47107
47227
|
const queueOperations = [];
|
|
47108
47228
|
queueOperations.push({
|
|
47109
|
-
type: QueueOperationType.Delete,
|
|
47229
|
+
type: QueueOperationType$1.Delete,
|
|
47110
47230
|
id: id,
|
|
47111
47231
|
});
|
|
47112
47232
|
return queueOperations;
|
|
@@ -47156,8 +47276,8 @@ class DurableDraftQueue {
|
|
|
47156
47276
|
this.minimumRetryInterval = 250;
|
|
47157
47277
|
this.maximumRetryInterval = 32000;
|
|
47158
47278
|
this.draftQueueChangedListeners = [];
|
|
47159
|
-
this.state = DraftQueueState.Stopped;
|
|
47160
|
-
this.userState = DraftQueueState.Stopped;
|
|
47279
|
+
this.state = DraftQueueState$1.Stopped;
|
|
47280
|
+
this.userState = DraftQueueState$1.Stopped;
|
|
47161
47281
|
this.uploadingActionId = undefined;
|
|
47162
47282
|
this.timeoutHandler = undefined;
|
|
47163
47283
|
this.handlers = {};
|
|
@@ -47184,8 +47304,8 @@ class DurableDraftQueue {
|
|
|
47184
47304
|
return this.state;
|
|
47185
47305
|
}
|
|
47186
47306
|
async startQueue() {
|
|
47187
|
-
this.userState = DraftQueueState.Started;
|
|
47188
|
-
if (this.state === DraftQueueState.Started) {
|
|
47307
|
+
this.userState = DraftQueueState$1.Started;
|
|
47308
|
+
if (this.state === DraftQueueState$1.Started) {
|
|
47189
47309
|
// Do nothing if the queue state is already started
|
|
47190
47310
|
return;
|
|
47191
47311
|
}
|
|
@@ -47196,30 +47316,30 @@ class DurableDraftQueue {
|
|
|
47196
47316
|
return;
|
|
47197
47317
|
}
|
|
47198
47318
|
this.retryIntervalMilliseconds = 0;
|
|
47199
|
-
this.state = DraftQueueState.Started;
|
|
47319
|
+
this.state = DraftQueueState$1.Started;
|
|
47200
47320
|
await this.notifyChangedListeners({
|
|
47201
|
-
type: DraftQueueEventType.QueueStateChanged,
|
|
47321
|
+
type: DraftQueueEventType$1.QueueStateChanged,
|
|
47202
47322
|
state: this.state,
|
|
47203
47323
|
});
|
|
47204
47324
|
const result = await this.processNextAction();
|
|
47205
47325
|
switch (result) {
|
|
47206
|
-
case ProcessActionResult.BLOCKED_ON_ERROR:
|
|
47207
|
-
this.state = DraftQueueState.Error;
|
|
47326
|
+
case ProcessActionResult$1.BLOCKED_ON_ERROR:
|
|
47327
|
+
this.state = DraftQueueState$1.Error;
|
|
47208
47328
|
return Promise.reject();
|
|
47209
47329
|
default:
|
|
47210
47330
|
return Promise.resolve();
|
|
47211
47331
|
}
|
|
47212
47332
|
}
|
|
47213
47333
|
stopQueue() {
|
|
47214
|
-
this.userState = DraftQueueState.Stopped;
|
|
47215
|
-
if (this.state === DraftQueueState.Stopped) {
|
|
47334
|
+
this.userState = DraftQueueState$1.Stopped;
|
|
47335
|
+
if (this.state === DraftQueueState$1.Stopped) {
|
|
47216
47336
|
// Do nothing if the queue state is already stopped
|
|
47217
47337
|
return Promise.resolve();
|
|
47218
47338
|
}
|
|
47219
47339
|
this.stopQueueManually();
|
|
47220
47340
|
return this.notifyChangedListeners({
|
|
47221
|
-
type: DraftQueueEventType.QueueStateChanged,
|
|
47222
|
-
state: DraftQueueState.Stopped,
|
|
47341
|
+
type: DraftQueueEventType$1.QueueStateChanged,
|
|
47342
|
+
state: DraftQueueState$1.Stopped,
|
|
47223
47343
|
});
|
|
47224
47344
|
}
|
|
47225
47345
|
/**
|
|
@@ -47230,7 +47350,7 @@ class DurableDraftQueue {
|
|
|
47230
47350
|
clearTimeout(this.timeoutHandler);
|
|
47231
47351
|
this.timeoutHandler = undefined;
|
|
47232
47352
|
}
|
|
47233
|
-
this.state = DraftQueueState.Stopped;
|
|
47353
|
+
this.state = DraftQueueState$1.Stopped;
|
|
47234
47354
|
}
|
|
47235
47355
|
async getQueueActions() {
|
|
47236
47356
|
const drafts = (await this.draftStore.getAllDrafts());
|
|
@@ -47240,7 +47360,7 @@ class DurableDraftQueue {
|
|
|
47240
47360
|
}
|
|
47241
47361
|
drafts.forEach((draft) => {
|
|
47242
47362
|
if (draft.id === this.uploadingActionId) {
|
|
47243
|
-
draft.status = DraftActionStatus.Uploading;
|
|
47363
|
+
draft.status = DraftActionStatus$1.Uploading;
|
|
47244
47364
|
}
|
|
47245
47365
|
queue.push(draft);
|
|
47246
47366
|
});
|
|
@@ -47266,11 +47386,11 @@ class DurableDraftQueue {
|
|
|
47266
47386
|
await this.draftStore.writeAction(pendingAction);
|
|
47267
47387
|
queue = await this.getQueueActions();
|
|
47268
47388
|
await this.notifyChangedListeners({
|
|
47269
|
-
type: DraftQueueEventType.ActionAdded,
|
|
47389
|
+
type: DraftQueueEventType$1.ActionAdded,
|
|
47270
47390
|
action: pendingAction,
|
|
47271
47391
|
});
|
|
47272
47392
|
await handler.handleActionEnqueued(pendingAction, queue);
|
|
47273
|
-
if (this.state === DraftQueueState.Started) {
|
|
47393
|
+
if (this.state === DraftQueueState$1.Started) {
|
|
47274
47394
|
this.processNextAction();
|
|
47275
47395
|
}
|
|
47276
47396
|
const actionData = (await handler.getDataForAction(pendingAction));
|
|
@@ -47302,10 +47422,10 @@ class DurableDraftQueue {
|
|
|
47302
47422
|
this.retryIntervalMilliseconds = 0;
|
|
47303
47423
|
this.uploadingActionId = undefined;
|
|
47304
47424
|
await this.notifyChangedListeners({
|
|
47305
|
-
type: DraftQueueEventType.ActionCompleted,
|
|
47425
|
+
type: DraftQueueEventType$1.ActionCompleted,
|
|
47306
47426
|
action,
|
|
47307
47427
|
});
|
|
47308
|
-
if (this.state === DraftQueueState.Started) {
|
|
47428
|
+
if (this.state === DraftQueueState$1.Started) {
|
|
47309
47429
|
this.processNextAction();
|
|
47310
47430
|
}
|
|
47311
47431
|
},
|
|
@@ -47315,12 +47435,12 @@ class DurableDraftQueue {
|
|
|
47315
47435
|
if (actionDataChanged === true) {
|
|
47316
47436
|
await this.draftStore.writeAction({
|
|
47317
47437
|
...action,
|
|
47318
|
-
status: DraftActionStatus.Pending,
|
|
47438
|
+
status: DraftActionStatus$1.Pending,
|
|
47319
47439
|
});
|
|
47320
47440
|
}
|
|
47321
47441
|
this.uploadingActionId = undefined;
|
|
47322
|
-
if (retry && this.state !== DraftQueueState.Stopped) {
|
|
47323
|
-
this.state = DraftQueueState.Waiting;
|
|
47442
|
+
if (retry && this.state !== DraftQueueState$1.Stopped) {
|
|
47443
|
+
this.state = DraftQueueState$1.Waiting;
|
|
47324
47444
|
return retryDelayInMs !== undefined
|
|
47325
47445
|
? this.scheduleRetryWithSpecifiedDelay(retryDelayInMs)
|
|
47326
47446
|
: this.scheduleRetry();
|
|
@@ -47344,27 +47464,27 @@ class DurableDraftQueue {
|
|
|
47344
47464
|
const action = queue[0];
|
|
47345
47465
|
if (action === undefined) {
|
|
47346
47466
|
this.processingAction = undefined;
|
|
47347
|
-
return ProcessActionResult.NO_ACTION_TO_PROCESS;
|
|
47467
|
+
return ProcessActionResult$1.NO_ACTION_TO_PROCESS;
|
|
47348
47468
|
}
|
|
47349
47469
|
const { status, id } = action;
|
|
47350
|
-
if (status === DraftActionStatus.Error) {
|
|
47351
|
-
this.state = DraftQueueState.Error;
|
|
47470
|
+
if (status === DraftActionStatus$1.Error) {
|
|
47471
|
+
this.state = DraftQueueState$1.Error;
|
|
47352
47472
|
this.processingAction = undefined;
|
|
47353
|
-
return ProcessActionResult.BLOCKED_ON_ERROR;
|
|
47473
|
+
return ProcessActionResult$1.BLOCKED_ON_ERROR;
|
|
47354
47474
|
}
|
|
47355
47475
|
if (id === this.uploadingActionId) {
|
|
47356
|
-
this.state = DraftQueueState.Started;
|
|
47476
|
+
this.state = DraftQueueState$1.Started;
|
|
47357
47477
|
this.processingAction = undefined;
|
|
47358
|
-
return ProcessActionResult.ACTION_ALREADY_PROCESSING;
|
|
47478
|
+
return ProcessActionResult$1.ACTION_ALREADY_PROCESSING;
|
|
47359
47479
|
}
|
|
47360
47480
|
this.uploadingActionId = id;
|
|
47361
47481
|
this.processingAction = undefined;
|
|
47362
|
-
if (this.state === DraftQueueState.Waiting) {
|
|
47363
|
-
this.state = DraftQueueState.Started;
|
|
47482
|
+
if (this.state === DraftQueueState$1.Waiting) {
|
|
47483
|
+
this.state = DraftQueueState$1.Started;
|
|
47364
47484
|
}
|
|
47365
47485
|
this.notifyChangedListeners({
|
|
47366
|
-
type: DraftQueueEventType.ActionUploading,
|
|
47367
|
-
action: { ...action, status: DraftActionStatus.Uploading },
|
|
47486
|
+
type: DraftQueueEventType$1.ActionUploading,
|
|
47487
|
+
action: { ...action, status: DraftActionStatus$1.Uploading },
|
|
47368
47488
|
});
|
|
47369
47489
|
return this.handle(action);
|
|
47370
47490
|
}
|
|
@@ -47377,14 +47497,14 @@ class DurableDraftQueue {
|
|
|
47377
47497
|
}
|
|
47378
47498
|
const errorAction = {
|
|
47379
47499
|
...action,
|
|
47380
|
-
status: DraftActionStatus.Error,
|
|
47500
|
+
status: DraftActionStatus$1.Error,
|
|
47381
47501
|
error,
|
|
47382
47502
|
metadata: newMetadata,
|
|
47383
47503
|
};
|
|
47384
47504
|
await this.draftStore.writeAction(errorAction);
|
|
47385
|
-
this.state = DraftQueueState.Error;
|
|
47505
|
+
this.state = DraftQueueState$1.Error;
|
|
47386
47506
|
return this.notifyChangedListeners({
|
|
47387
|
-
type: DraftQueueEventType.ActionFailed,
|
|
47507
|
+
type: DraftQueueEventType$1.ActionFailed,
|
|
47388
47508
|
action: errorAction,
|
|
47389
47509
|
});
|
|
47390
47510
|
}
|
|
@@ -47403,7 +47523,7 @@ class DurableDraftQueue {
|
|
|
47403
47523
|
* started
|
|
47404
47524
|
*/
|
|
47405
47525
|
async startQueueSafe() {
|
|
47406
|
-
if (this.userState === DraftQueueState.Started && this.state !== DraftQueueState.Started) {
|
|
47526
|
+
if (this.userState === DraftQueueState$1.Started && this.state !== DraftQueueState$1.Started) {
|
|
47407
47527
|
await this.startQueue();
|
|
47408
47528
|
}
|
|
47409
47529
|
}
|
|
@@ -47430,11 +47550,11 @@ class DurableDraftQueue {
|
|
|
47430
47550
|
}
|
|
47431
47551
|
await handler.handleActionRemoved(action, queue.filter((x) => x.id !== actionId));
|
|
47432
47552
|
await this.notifyChangedListeners({
|
|
47433
|
-
type: DraftQueueEventType.ActionDeleted,
|
|
47553
|
+
type: DraftQueueEventType$1.ActionDeleted,
|
|
47434
47554
|
action,
|
|
47435
47555
|
});
|
|
47436
|
-
if (this.userState === DraftQueueState.Started &&
|
|
47437
|
-
this.state !== DraftQueueState.Started &&
|
|
47556
|
+
if (this.userState === DraftQueueState$1.Started &&
|
|
47557
|
+
this.state !== DraftQueueState$1.Started &&
|
|
47438
47558
|
this.replacingAction === undefined) {
|
|
47439
47559
|
await this.startQueue();
|
|
47440
47560
|
}
|
|
@@ -47464,14 +47584,14 @@ class DurableDraftQueue {
|
|
|
47464
47584
|
action.metadata = handler.updateMetadata(action.metadata, metadata);
|
|
47465
47585
|
await this.draftStore.writeAction(action);
|
|
47466
47586
|
await this.notifyChangedListeners({
|
|
47467
|
-
type: DraftQueueEventType.ActionUpdated,
|
|
47587
|
+
type: DraftQueueEventType$1.ActionUpdated,
|
|
47468
47588
|
action: action,
|
|
47469
47589
|
});
|
|
47470
47590
|
return action;
|
|
47471
47591
|
}
|
|
47472
47592
|
scheduleRetryWithSpecifiedDelay(retryDelayInMs) {
|
|
47473
47593
|
this.timeoutHandler = setTimeout(() => {
|
|
47474
|
-
if (this.state !== DraftQueueState.Stopped) {
|
|
47594
|
+
if (this.state !== DraftQueueState$1.Stopped) {
|
|
47475
47595
|
this.processNextAction();
|
|
47476
47596
|
}
|
|
47477
47597
|
}, retryDelayInMs);
|
|
@@ -47507,11 +47627,11 @@ class DurableDraftQueue {
|
|
|
47507
47627
|
if (targetTag !== sourceTag) {
|
|
47508
47628
|
throw Error('Cannot replace/merge actions for different tags.');
|
|
47509
47629
|
}
|
|
47510
|
-
if (targetStatus === DraftActionStatus.Completed ||
|
|
47511
|
-
targetStatus === DraftActionStatus.Uploading) {
|
|
47630
|
+
if (targetStatus === DraftActionStatus$1.Completed ||
|
|
47631
|
+
targetStatus === DraftActionStatus$1.Uploading) {
|
|
47512
47632
|
throw Error(`Cannot replace/merge actions when targetAction is in ${targetStatus} status.`);
|
|
47513
47633
|
}
|
|
47514
|
-
if (sourceStatus !== DraftActionStatus.Pending) {
|
|
47634
|
+
if (sourceStatus !== DraftActionStatus$1.Pending) {
|
|
47515
47635
|
throw Error(`Cannot replace/merge actions when sourceAction is in ${sourceStatus} status.`);
|
|
47516
47636
|
}
|
|
47517
47637
|
if (targetVersion !== sourceVersion) {
|
|
@@ -47541,7 +47661,7 @@ class DurableDraftQueue {
|
|
|
47541
47661
|
// update the target
|
|
47542
47662
|
await this.draftStore.writeAction(updatedTarget);
|
|
47543
47663
|
await this.notifyChangedListeners({
|
|
47544
|
-
type: DraftQueueEventType.ActionUpdated,
|
|
47664
|
+
type: DraftQueueEventType$1.ActionUpdated,
|
|
47545
47665
|
action: updatedTarget,
|
|
47546
47666
|
});
|
|
47547
47667
|
// remove the source from queue
|
|
@@ -47640,7 +47760,7 @@ class DurableDraftStore {
|
|
|
47640
47760
|
const { draftStore } = this;
|
|
47641
47761
|
for (let i = 0, len = queueOperations.length; i < len; i++) {
|
|
47642
47762
|
const operation = queueOperations[i];
|
|
47643
|
-
if (operation.type === QueueOperationType.Delete) {
|
|
47763
|
+
if (operation.type === QueueOperationType$1.Delete) {
|
|
47644
47764
|
const action = draftStore[operation.id];
|
|
47645
47765
|
if (action !== undefined) {
|
|
47646
47766
|
delete draftStore[operation.id];
|
|
@@ -47777,9 +47897,9 @@ class AbstractResourceRequestActionHandler {
|
|
|
47777
47897
|
await actionCompleted({
|
|
47778
47898
|
...action,
|
|
47779
47899
|
response,
|
|
47780
|
-
status: DraftActionStatus.Completed,
|
|
47900
|
+
status: DraftActionStatus$1.Completed,
|
|
47781
47901
|
});
|
|
47782
|
-
return ProcessActionResult.ACTION_SUCCEEDED;
|
|
47902
|
+
return ProcessActionResult$1.ACTION_SUCCEEDED;
|
|
47783
47903
|
}
|
|
47784
47904
|
let shouldRetry = false;
|
|
47785
47905
|
let retryDelayInMs = undefined;
|
|
@@ -47800,7 +47920,7 @@ class AbstractResourceRequestActionHandler {
|
|
|
47800
47920
|
const errorCode = response.body[0].errorCode;
|
|
47801
47921
|
if (errorCode === ERROR_CODE_IDEMPOTENCY_KEY_USED_DIFFERENT_USER) {
|
|
47802
47922
|
updatedAction.data.headers = updatedAction.data.headers || {};
|
|
47803
|
-
updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
|
|
47923
|
+
updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4$1();
|
|
47804
47924
|
retryDelayInMs = 0;
|
|
47805
47925
|
actionDataChanged = true;
|
|
47806
47926
|
}
|
|
@@ -47817,13 +47937,13 @@ class AbstractResourceRequestActionHandler {
|
|
|
47817
47937
|
: {
|
|
47818
47938
|
...updatedAction,
|
|
47819
47939
|
error: response,
|
|
47820
|
-
status: DraftActionStatus.Error,
|
|
47940
|
+
status: DraftActionStatus$1.Error,
|
|
47821
47941
|
}, shouldRetry, retryDelayInMs, actionDataChanged);
|
|
47822
|
-
return ProcessActionResult.ACTION_ERRORED;
|
|
47942
|
+
return ProcessActionResult$1.ACTION_ERRORED;
|
|
47823
47943
|
}
|
|
47824
47944
|
catch (e) {
|
|
47825
47945
|
await actionErrored(action, true);
|
|
47826
|
-
return ProcessActionResult.NETWORK_ERROR;
|
|
47946
|
+
return ProcessActionResult$1.NETWORK_ERROR;
|
|
47827
47947
|
}
|
|
47828
47948
|
}
|
|
47829
47949
|
async buildPendingAction(request, queue) {
|
|
@@ -47841,7 +47961,7 @@ class AbstractResourceRequestActionHandler {
|
|
|
47841
47961
|
targetId,
|
|
47842
47962
|
tag,
|
|
47843
47963
|
data: request,
|
|
47844
|
-
status: DraftActionStatus.Pending,
|
|
47964
|
+
status: DraftActionStatus$1.Pending,
|
|
47845
47965
|
id: generateUniqueDraftActionId(queue.map((x) => x.id)),
|
|
47846
47966
|
timestamp: Date.now(),
|
|
47847
47967
|
metadata: {},
|
|
@@ -47907,11 +48027,11 @@ class AbstractResourceRequestActionHandler {
|
|
|
47907
48027
|
};
|
|
47908
48028
|
// item needs to be replaced with a new item at the new record key
|
|
47909
48029
|
queueOperations.push({
|
|
47910
|
-
type: QueueOperationType.Delete,
|
|
48030
|
+
type: QueueOperationType$1.Delete,
|
|
47911
48031
|
id: queueActionId,
|
|
47912
48032
|
});
|
|
47913
48033
|
queueOperations.push({
|
|
47914
|
-
type: QueueOperationType.Add,
|
|
48034
|
+
type: QueueOperationType$1.Add,
|
|
47915
48035
|
action: updatedAction,
|
|
47916
48036
|
});
|
|
47917
48037
|
}
|
|
@@ -47926,7 +48046,7 @@ class AbstractResourceRequestActionHandler {
|
|
|
47926
48046
|
};
|
|
47927
48047
|
// item needs to be updated
|
|
47928
48048
|
queueOperations.push({
|
|
47929
|
-
type: QueueOperationType.Update,
|
|
48049
|
+
type: QueueOperationType$1.Update,
|
|
47930
48050
|
id: queueActionId,
|
|
47931
48051
|
action: updatedAction,
|
|
47932
48052
|
});
|
|
@@ -47937,7 +48057,7 @@ class AbstractResourceRequestActionHandler {
|
|
|
47937
48057
|
}
|
|
47938
48058
|
// delete completed action
|
|
47939
48059
|
queueOperations.push({
|
|
47940
|
-
type: QueueOperationType.Delete,
|
|
48060
|
+
type: QueueOperationType$1.Delete,
|
|
47941
48061
|
id: action.id,
|
|
47942
48062
|
});
|
|
47943
48063
|
return queueOperations;
|
|
@@ -47973,7 +48093,7 @@ class AbstractResourceRequestActionHandler {
|
|
|
47973
48093
|
synchronousIngest: this.synchronousIngest.bind(this),
|
|
47974
48094
|
buildCacheKeysForResponse: this.buildCacheKeysFromResponse.bind(this),
|
|
47975
48095
|
});
|
|
47976
|
-
const recordsNeedingReplay = queueOperations.filter((x) => x.type === QueueOperationType.Update);
|
|
48096
|
+
const recordsNeedingReplay = queueOperations.filter((x) => x.type === QueueOperationType$1.Update);
|
|
47977
48097
|
for (const recordNeedingReplay of recordsNeedingReplay) {
|
|
47978
48098
|
const { action } = recordNeedingReplay;
|
|
47979
48099
|
if (isResourceRequestAction(action)) {
|
|
@@ -48001,7 +48121,7 @@ class AbstractResourceRequestActionHandler {
|
|
|
48001
48121
|
}
|
|
48002
48122
|
if (this.isActionOfType(targetAction) &&
|
|
48003
48123
|
this.isActionOfType(sourceAction)) {
|
|
48004
|
-
targetAction.status = DraftActionStatus.Pending;
|
|
48124
|
+
targetAction.status = DraftActionStatus$1.Pending;
|
|
48005
48125
|
targetAction.data = sourceAction.data;
|
|
48006
48126
|
return targetAction;
|
|
48007
48127
|
}
|
|
@@ -48039,7 +48159,7 @@ class AbstractResourceRequestActionHandler {
|
|
|
48039
48159
|
// overlay metadata
|
|
48040
48160
|
merged.metadata = { ...targetMetadata, ...sourceMetadata };
|
|
48041
48161
|
// put status back to pending to auto upload if queue is active and targed is at the head.
|
|
48042
|
-
merged.status = DraftActionStatus.Pending;
|
|
48162
|
+
merged.status = DraftActionStatus$1.Pending;
|
|
48043
48163
|
return merged;
|
|
48044
48164
|
}
|
|
48045
48165
|
shouldDeleteActionByTagOnRemoval(action) {
|
|
@@ -48075,7 +48195,7 @@ class AbstractResourceRequestActionHandler {
|
|
|
48075
48195
|
async ingestResponses(responses, action) {
|
|
48076
48196
|
const luvio = this.getLuvio();
|
|
48077
48197
|
await luvio.handleSuccessResponse(() => {
|
|
48078
|
-
if (action.status === DraftActionStatus.Completed) {
|
|
48198
|
+
if (action.status === DraftActionStatus$1.Completed) {
|
|
48079
48199
|
const mappings = this.getRedirectMappings(action);
|
|
48080
48200
|
if (mappings) {
|
|
48081
48201
|
mappings.forEach((mapping) => {
|
|
@@ -48130,14 +48250,14 @@ function isResourceRequestAction(action) {
|
|
|
48130
48250
|
/**
|
|
48131
48251
|
* Denotes what kind of operation a DraftQueueItem represents.
|
|
48132
48252
|
*/
|
|
48133
|
-
var DraftActionOperationType;
|
|
48253
|
+
var DraftActionOperationType$1;
|
|
48134
48254
|
(function (DraftActionOperationType) {
|
|
48135
48255
|
DraftActionOperationType["Create"] = "create";
|
|
48136
48256
|
DraftActionOperationType["Update"] = "update";
|
|
48137
48257
|
DraftActionOperationType["Delete"] = "delete";
|
|
48138
48258
|
DraftActionOperationType["Custom"] = "custom";
|
|
48139
|
-
})(DraftActionOperationType || (DraftActionOperationType = {}));
|
|
48140
|
-
var DraftQueueOperationType;
|
|
48259
|
+
})(DraftActionOperationType$1 || (DraftActionOperationType$1 = {}));
|
|
48260
|
+
var DraftQueueOperationType$1;
|
|
48141
48261
|
(function (DraftQueueOperationType) {
|
|
48142
48262
|
DraftQueueOperationType["ItemAdded"] = "added";
|
|
48143
48263
|
DraftQueueOperationType["ItemUploading"] = "uploading";
|
|
@@ -48147,7 +48267,7 @@ var DraftQueueOperationType;
|
|
|
48147
48267
|
DraftQueueOperationType["ItemUpdated"] = "updated";
|
|
48148
48268
|
DraftQueueOperationType["QueueStarted"] = "started";
|
|
48149
48269
|
DraftQueueOperationType["QueueStopped"] = "stopped";
|
|
48150
|
-
})(DraftQueueOperationType || (DraftQueueOperationType = {}));
|
|
48270
|
+
})(DraftQueueOperationType$1 || (DraftQueueOperationType$1 = {}));
|
|
48151
48271
|
/**
|
|
48152
48272
|
* Converts the internal DraftAction's ResourceRequest into
|
|
48153
48273
|
* a DraftActionOperationType.
|
|
@@ -48161,11 +48281,11 @@ function getOperationTypeFrom(action) {
|
|
|
48161
48281
|
switch (action.data.method) {
|
|
48162
48282
|
case 'put':
|
|
48163
48283
|
case 'patch':
|
|
48164
|
-
return DraftActionOperationType.Update;
|
|
48284
|
+
return DraftActionOperationType$1.Update;
|
|
48165
48285
|
case 'post':
|
|
48166
|
-
return DraftActionOperationType.Create;
|
|
48286
|
+
return DraftActionOperationType$1.Create;
|
|
48167
48287
|
case 'delete':
|
|
48168
|
-
return DraftActionOperationType.Delete;
|
|
48288
|
+
return DraftActionOperationType$1.Delete;
|
|
48169
48289
|
default:
|
|
48170
48290
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
48171
48291
|
throw new Error(`${action.data.method} is an unsupported request method type for DraftQueue.`);
|
|
@@ -48177,7 +48297,7 @@ function getOperationTypeFrom(action) {
|
|
|
48177
48297
|
}
|
|
48178
48298
|
}
|
|
48179
48299
|
else {
|
|
48180
|
-
return DraftActionOperationType.Custom;
|
|
48300
|
+
return DraftActionOperationType$1.Custom;
|
|
48181
48301
|
}
|
|
48182
48302
|
}
|
|
48183
48303
|
function toQueueState(queue) {
|
|
@@ -48192,13 +48312,13 @@ class DraftManager {
|
|
|
48192
48312
|
constructor(draftQueue) {
|
|
48193
48313
|
this.listeners = [];
|
|
48194
48314
|
this.draftEventsShouldBeEmitted = [
|
|
48195
|
-
DraftQueueEventType.ActionAdded,
|
|
48196
|
-
DraftQueueEventType.ActionUploading,
|
|
48197
|
-
DraftQueueEventType.ActionCompleted,
|
|
48198
|
-
DraftQueueEventType.ActionDeleted,
|
|
48199
|
-
DraftQueueEventType.ActionFailed,
|
|
48200
|
-
DraftQueueEventType.ActionUpdated,
|
|
48201
|
-
DraftQueueEventType.QueueStateChanged,
|
|
48315
|
+
DraftQueueEventType$1.ActionAdded,
|
|
48316
|
+
DraftQueueEventType$1.ActionUploading,
|
|
48317
|
+
DraftQueueEventType$1.ActionCompleted,
|
|
48318
|
+
DraftQueueEventType$1.ActionDeleted,
|
|
48319
|
+
DraftQueueEventType$1.ActionFailed,
|
|
48320
|
+
DraftQueueEventType$1.ActionUpdated,
|
|
48321
|
+
DraftQueueEventType$1.QueueStateChanged,
|
|
48202
48322
|
];
|
|
48203
48323
|
this.draftQueue = draftQueue;
|
|
48204
48324
|
draftQueue.registerOnChangedListener((event) => {
|
|
@@ -48210,28 +48330,28 @@ class DraftManager {
|
|
|
48210
48330
|
}
|
|
48211
48331
|
draftQueueEventTypeToOperationType(type) {
|
|
48212
48332
|
switch (type) {
|
|
48213
|
-
case DraftQueueEventType.ActionAdded:
|
|
48214
|
-
return DraftQueueOperationType.ItemAdded;
|
|
48215
|
-
case DraftQueueEventType.ActionUploading:
|
|
48216
|
-
return DraftQueueOperationType.ItemUploading;
|
|
48217
|
-
case DraftQueueEventType.ActionCompleted:
|
|
48218
|
-
return DraftQueueOperationType.ItemCompleted;
|
|
48219
|
-
case DraftQueueEventType.ActionDeleted:
|
|
48220
|
-
return DraftQueueOperationType.ItemDeleted;
|
|
48221
|
-
case DraftQueueEventType.ActionFailed:
|
|
48222
|
-
return DraftQueueOperationType.ItemFailed;
|
|
48223
|
-
case DraftQueueEventType.ActionUpdated:
|
|
48224
|
-
return DraftQueueOperationType.ItemUpdated;
|
|
48333
|
+
case DraftQueueEventType$1.ActionAdded:
|
|
48334
|
+
return DraftQueueOperationType$1.ItemAdded;
|
|
48335
|
+
case DraftQueueEventType$1.ActionUploading:
|
|
48336
|
+
return DraftQueueOperationType$1.ItemUploading;
|
|
48337
|
+
case DraftQueueEventType$1.ActionCompleted:
|
|
48338
|
+
return DraftQueueOperationType$1.ItemCompleted;
|
|
48339
|
+
case DraftQueueEventType$1.ActionDeleted:
|
|
48340
|
+
return DraftQueueOperationType$1.ItemDeleted;
|
|
48341
|
+
case DraftQueueEventType$1.ActionFailed:
|
|
48342
|
+
return DraftQueueOperationType$1.ItemFailed;
|
|
48343
|
+
case DraftQueueEventType$1.ActionUpdated:
|
|
48344
|
+
return DraftQueueOperationType$1.ItemUpdated;
|
|
48225
48345
|
default:
|
|
48226
48346
|
throw Error('Unsupported event type');
|
|
48227
48347
|
}
|
|
48228
48348
|
}
|
|
48229
48349
|
draftQueueStateToOperationType(state) {
|
|
48230
48350
|
switch (state) {
|
|
48231
|
-
case DraftQueueState.Started:
|
|
48232
|
-
return DraftQueueOperationType.QueueStarted;
|
|
48233
|
-
case DraftQueueState.Stopped:
|
|
48234
|
-
return DraftQueueOperationType.QueueStopped;
|
|
48351
|
+
case DraftQueueState$1.Started:
|
|
48352
|
+
return DraftQueueOperationType$1.QueueStarted;
|
|
48353
|
+
case DraftQueueState$1.Stopped:
|
|
48354
|
+
return DraftQueueOperationType$1.QueueStopped;
|
|
48235
48355
|
default:
|
|
48236
48356
|
throw Error('Unsupported event type');
|
|
48237
48357
|
}
|
|
@@ -54198,30 +54318,36 @@ function makeRecordDenormalizingDurableStore(luvio, durableStore, getStoreRecord
|
|
|
54198
54318
|
const operationsWithDenormedRecords = [];
|
|
54199
54319
|
for (let i = 0, len = operations.length; i < len; i++) {
|
|
54200
54320
|
const operation = operations[i];
|
|
54201
|
-
if (
|
|
54202
|
-
|
|
54203
|
-
|
|
54204
|
-
if (
|
|
54205
|
-
|
|
54206
|
-
|
|
54207
|
-
|
|
54321
|
+
if (operation.type === 'setMetadata') {
|
|
54322
|
+
// if setMetadata also contains entry data then it needs to be denormalized.
|
|
54323
|
+
const keys$1 = keys$3$1(operation.entries);
|
|
54324
|
+
if (keys$1.length > 0) {
|
|
54325
|
+
const firstKey = keys$1[0];
|
|
54326
|
+
// casted to any to check if data exists
|
|
54327
|
+
const firstEntry = operation.entries[firstKey];
|
|
54328
|
+
// it is not possible for setMetadata to contain entries with both data and no data in the same operation.
|
|
54329
|
+
// this is determined by the plugin supporting update batch calls before it gets to this HOF.
|
|
54330
|
+
// so we only need to check one entry to confirm this for performance
|
|
54331
|
+
if (firstEntry.data !== undefined) {
|
|
54332
|
+
operationsWithDenormedRecords.push({
|
|
54333
|
+
...operation,
|
|
54334
|
+
entries: denormalizeEntries(operation.entries),
|
|
54335
|
+
});
|
|
54336
|
+
}
|
|
54337
|
+
else {
|
|
54338
|
+
operationsWithDenormedRecords.push(operation);
|
|
54339
|
+
}
|
|
54208
54340
|
}
|
|
54209
|
-
|
|
54210
|
-
...operation,
|
|
54211
|
-
entries: denormalizeEntries(operation.entries),
|
|
54212
|
-
});
|
|
54341
|
+
continue;
|
|
54213
54342
|
}
|
|
54214
|
-
|
|
54215
|
-
|
|
54216
|
-
|
|
54217
|
-
operationsWithDenormedRecords.push(operation);
|
|
54218
|
-
continue;
|
|
54219
|
-
}
|
|
54220
|
-
operationsWithDenormedRecords.push({
|
|
54221
|
-
...operation,
|
|
54222
|
-
entries: denormalizeEntries(operation.entries),
|
|
54223
|
-
});
|
|
54343
|
+
if (operation.segment !== DefaultDurableSegment || operation.type === 'evictEntries') {
|
|
54344
|
+
operationsWithDenormedRecords.push(operation);
|
|
54345
|
+
continue;
|
|
54224
54346
|
}
|
|
54347
|
+
operationsWithDenormedRecords.push({
|
|
54348
|
+
...operation,
|
|
54349
|
+
entries: denormalizeEntries(operation.entries),
|
|
54350
|
+
});
|
|
54225
54351
|
}
|
|
54226
54352
|
return durableStore.batchOperations(operationsWithDenormedRecords);
|
|
54227
54353
|
};
|
|
@@ -56477,29 +56603,29 @@ const withInstrumentation = (operation, config) => {
|
|
|
56477
56603
|
function instrumentDraftQueue(queue) {
|
|
56478
56604
|
queue.registerOnChangedListener((draftQueueEvent) => {
|
|
56479
56605
|
switch (draftQueueEvent.type) {
|
|
56480
|
-
case DraftQueueEventType.QueueStateChanged:
|
|
56606
|
+
case DraftQueueEventType$1.QueueStateChanged:
|
|
56481
56607
|
switch (draftQueueEvent.state) {
|
|
56482
|
-
case DraftQueueState.Error:
|
|
56608
|
+
case DraftQueueState$1.Error:
|
|
56483
56609
|
break;
|
|
56484
|
-
case DraftQueueState.Started:
|
|
56610
|
+
case DraftQueueState$1.Started:
|
|
56485
56611
|
break;
|
|
56486
|
-
case DraftQueueState.Stopped:
|
|
56612
|
+
case DraftQueueState$1.Stopped:
|
|
56487
56613
|
break;
|
|
56488
|
-
case DraftQueueState.Waiting:
|
|
56614
|
+
case DraftQueueState$1.Waiting:
|
|
56489
56615
|
break;
|
|
56490
56616
|
}
|
|
56491
56617
|
break;
|
|
56492
|
-
case DraftQueueEventType.ActionAdded:
|
|
56618
|
+
case DraftQueueEventType$1.ActionAdded:
|
|
56493
56619
|
break;
|
|
56494
|
-
case DraftQueueEventType.ActionUploading:
|
|
56620
|
+
case DraftQueueEventType$1.ActionUploading:
|
|
56495
56621
|
break;
|
|
56496
|
-
case DraftQueueEventType.ActionCompleted:
|
|
56622
|
+
case DraftQueueEventType$1.ActionCompleted:
|
|
56497
56623
|
break;
|
|
56498
|
-
case DraftQueueEventType.ActionDeleted:
|
|
56624
|
+
case DraftQueueEventType$1.ActionDeleted:
|
|
56499
56625
|
break;
|
|
56500
|
-
case DraftQueueEventType.ActionFailed:
|
|
56626
|
+
case DraftQueueEventType$1.ActionFailed:
|
|
56501
56627
|
break;
|
|
56502
|
-
case DraftQueueEventType.ActionUpdated:
|
|
56628
|
+
case DraftQueueEventType$1.ActionUpdated:
|
|
56503
56629
|
break;
|
|
56504
56630
|
}
|
|
56505
56631
|
return Promise.resolve();
|
|
@@ -58258,11 +58384,11 @@ class RecordIngestor {
|
|
|
58258
58384
|
}
|
|
58259
58385
|
const luvio = this.getLuvio();
|
|
58260
58386
|
const ingestionTimestamp = Date.now();
|
|
58261
|
-
const ttlOverride = await luvio.storeGetTTLOverride(keyPrefix$
|
|
58387
|
+
const ttlOverride = await luvio.storeGetTTLOverride(keyPrefix$2, RepresentationType$O);
|
|
58262
58388
|
const metadata = {
|
|
58263
58389
|
ingestionTimestamp,
|
|
58264
58390
|
expirationTimestamp: (ttlOverride !== null && ttlOverride !== void 0 ? ttlOverride : TTL$w) + ingestionTimestamp,
|
|
58265
|
-
namespace: keyPrefix$
|
|
58391
|
+
namespace: keyPrefix$2,
|
|
58266
58392
|
representationName: RepresentationType$O,
|
|
58267
58393
|
metadataVersion: DURABLE_METADATA_VERSION,
|
|
58268
58394
|
version: VERSION$1a$1,
|
|
@@ -58671,6 +58797,7 @@ function getRuntime() {
|
|
|
58671
58797
|
getRecords: lazyGetRecords,
|
|
58672
58798
|
});
|
|
58673
58799
|
},
|
|
58800
|
+
nimbusSqliteStore: lazyBaseDurableStore,
|
|
58674
58801
|
};
|
|
58675
58802
|
}
|
|
58676
58803
|
|
|
@@ -58685,7 +58812,7 @@ register$1({
|
|
|
58685
58812
|
id: '@salesforce/lds-network-adapter',
|
|
58686
58813
|
instrument: instrument$2,
|
|
58687
58814
|
});
|
|
58688
|
-
// version: 1.
|
|
58815
|
+
// version: 1.245.0-0ea124370
|
|
58689
58816
|
|
|
58690
58817
|
const { create: create$3, keys: keys$3 } = Object;
|
|
58691
58818
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -59219,7 +59346,7 @@ function buildAdapterValidationConfig$1(displayName, paramsMeta) {
|
|
|
59219
59346
|
}
|
|
59220
59347
|
};
|
|
59221
59348
|
}
|
|
59222
|
-
const keyPrefix = 'UiApi';
|
|
59349
|
+
const keyPrefix$1 = 'UiApi';
|
|
59223
59350
|
|
|
59224
59351
|
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
59225
59352
|
function equalsObject(a, b, equalsProp) {
|
|
@@ -59474,7 +59601,7 @@ function ingest$14(astNode, state) {
|
|
|
59474
59601
|
mergeData: mergeData$12,
|
|
59475
59602
|
storeMetadataParams: {
|
|
59476
59603
|
ttl: TTL$1,
|
|
59477
|
-
namespace: keyPrefix,
|
|
59604
|
+
namespace: keyPrefix$1,
|
|
59478
59605
|
representationName: "DoubleValue",
|
|
59479
59606
|
version: VERSION$1d
|
|
59480
59607
|
},
|
|
@@ -59525,7 +59652,7 @@ function getTypeCacheKeys$17(cacheKeySink, astNode, state) {
|
|
|
59525
59652
|
const { path, data, luvio } = state;
|
|
59526
59653
|
const rootKey = keyBuilder$17(luvio, path);
|
|
59527
59654
|
cacheKeySink.set(rootKey, {
|
|
59528
|
-
namespace: keyPrefix,
|
|
59655
|
+
namespace: keyPrefix$1,
|
|
59529
59656
|
mergeable: true,
|
|
59530
59657
|
representationName: name$12
|
|
59531
59658
|
});
|
|
@@ -59616,7 +59743,7 @@ function ingest$13(astNode, state) {
|
|
|
59616
59743
|
mergeData: mergeData$11,
|
|
59617
59744
|
storeMetadataParams: {
|
|
59618
59745
|
ttl: TTL$1,
|
|
59619
|
-
namespace: keyPrefix,
|
|
59746
|
+
namespace: keyPrefix$1,
|
|
59620
59747
|
representationName: "LongValue",
|
|
59621
59748
|
version: VERSION$1c
|
|
59622
59749
|
},
|
|
@@ -59667,7 +59794,7 @@ function getTypeCacheKeys$16(cacheKeySink, astNode, state) {
|
|
|
59667
59794
|
const { path, data, luvio } = state;
|
|
59668
59795
|
const rootKey = keyBuilder$16(luvio, path);
|
|
59669
59796
|
cacheKeySink.set(rootKey, {
|
|
59670
|
-
namespace: keyPrefix,
|
|
59797
|
+
namespace: keyPrefix$1,
|
|
59671
59798
|
mergeable: true,
|
|
59672
59799
|
representationName: name$11
|
|
59673
59800
|
});
|
|
@@ -59758,7 +59885,7 @@ function ingest$12(astNode, state) {
|
|
|
59758
59885
|
mergeData: mergeData$10,
|
|
59759
59886
|
storeMetadataParams: {
|
|
59760
59887
|
ttl: TTL$1,
|
|
59761
|
-
namespace: keyPrefix,
|
|
59888
|
+
namespace: keyPrefix$1,
|
|
59762
59889
|
representationName: "PercentValue",
|
|
59763
59890
|
version: VERSION$1b
|
|
59764
59891
|
},
|
|
@@ -59809,7 +59936,7 @@ function getTypeCacheKeys$15(cacheKeySink, astNode, state) {
|
|
|
59809
59936
|
const { path, data, luvio } = state;
|
|
59810
59937
|
const rootKey = keyBuilder$15(luvio, path);
|
|
59811
59938
|
cacheKeySink.set(rootKey, {
|
|
59812
|
-
namespace: keyPrefix,
|
|
59939
|
+
namespace: keyPrefix$1,
|
|
59813
59940
|
mergeable: true,
|
|
59814
59941
|
representationName: name$10
|
|
59815
59942
|
});
|
|
@@ -59900,7 +60027,7 @@ function ingest$11(astNode, state) {
|
|
|
59900
60027
|
mergeData: mergeData$$,
|
|
59901
60028
|
storeMetadataParams: {
|
|
59902
60029
|
ttl: TTL$1,
|
|
59903
|
-
namespace: keyPrefix,
|
|
60030
|
+
namespace: keyPrefix$1,
|
|
59904
60031
|
representationName: "PercentAggregate",
|
|
59905
60032
|
version: VERSION$1a
|
|
59906
60033
|
},
|
|
@@ -59975,7 +60102,7 @@ function getTypeCacheKeys$14(cacheKeySink, astNode, state) {
|
|
|
59975
60102
|
const { path, data, luvio } = state;
|
|
59976
60103
|
const rootKey = keyBuilder$14(luvio, path);
|
|
59977
60104
|
cacheKeySink.set(rootKey, {
|
|
59978
|
-
namespace: keyPrefix,
|
|
60105
|
+
namespace: keyPrefix$1,
|
|
59979
60106
|
mergeable: true,
|
|
59980
60107
|
representationName: name$$
|
|
59981
60108
|
});
|
|
@@ -60162,7 +60289,7 @@ function ingest$10(astNode, state) {
|
|
|
60162
60289
|
mergeData: mergeData$_,
|
|
60163
60290
|
storeMetadataParams: {
|
|
60164
60291
|
ttl: TTL$1,
|
|
60165
|
-
namespace: keyPrefix,
|
|
60292
|
+
namespace: keyPrefix$1,
|
|
60166
60293
|
representationName: "IntValue",
|
|
60167
60294
|
version: VERSION$19
|
|
60168
60295
|
},
|
|
@@ -60213,7 +60340,7 @@ function getTypeCacheKeys$13(cacheKeySink, astNode, state) {
|
|
|
60213
60340
|
const { path, data, luvio } = state;
|
|
60214
60341
|
const rootKey = keyBuilder$13(luvio, path);
|
|
60215
60342
|
cacheKeySink.set(rootKey, {
|
|
60216
|
-
namespace: keyPrefix,
|
|
60343
|
+
namespace: keyPrefix$1,
|
|
60217
60344
|
mergeable: true,
|
|
60218
60345
|
representationName: name$_
|
|
60219
60346
|
});
|
|
@@ -60304,7 +60431,7 @@ function ingest$$(astNode, state) {
|
|
|
60304
60431
|
mergeData: mergeData$Z,
|
|
60305
60432
|
storeMetadataParams: {
|
|
60306
60433
|
ttl: TTL$1,
|
|
60307
|
-
namespace: keyPrefix,
|
|
60434
|
+
namespace: keyPrefix$1,
|
|
60308
60435
|
representationName: "StringValue",
|
|
60309
60436
|
version: VERSION$18
|
|
60310
60437
|
},
|
|
@@ -60350,7 +60477,7 @@ function getTypeCacheKeys$12(cacheKeySink, astNode, state) {
|
|
|
60350
60477
|
const { path, data, luvio } = state;
|
|
60351
60478
|
const rootKey = keyBuilder$12(luvio, path);
|
|
60352
60479
|
cacheKeySink.set(rootKey, {
|
|
60353
|
-
namespace: keyPrefix,
|
|
60480
|
+
namespace: keyPrefix$1,
|
|
60354
60481
|
mergeable: true,
|
|
60355
60482
|
representationName: name$Z
|
|
60356
60483
|
});
|
|
@@ -60437,7 +60564,7 @@ function ingest$_(astNode, state) {
|
|
|
60437
60564
|
mergeData: mergeData$Y,
|
|
60438
60565
|
storeMetadataParams: {
|
|
60439
60566
|
ttl: TTL$1,
|
|
60440
|
-
namespace: keyPrefix,
|
|
60567
|
+
namespace: keyPrefix$1,
|
|
60441
60568
|
representationName: "StringAggregate",
|
|
60442
60569
|
version: VERSION$17
|
|
60443
60570
|
},
|
|
@@ -60507,7 +60634,7 @@ function getTypeCacheKeys$11(cacheKeySink, astNode, state) {
|
|
|
60507
60634
|
const { path, data, luvio } = state;
|
|
60508
60635
|
const rootKey = keyBuilder$11(luvio, path);
|
|
60509
60636
|
cacheKeySink.set(rootKey, {
|
|
60510
|
-
namespace: keyPrefix,
|
|
60637
|
+
namespace: keyPrefix$1,
|
|
60511
60638
|
mergeable: true,
|
|
60512
60639
|
representationName: name$Y
|
|
60513
60640
|
});
|
|
@@ -60679,7 +60806,7 @@ function ingest$Z(astNode, state) {
|
|
|
60679
60806
|
mergeData: mergeData$X,
|
|
60680
60807
|
storeMetadataParams: {
|
|
60681
60808
|
ttl: TTL$1,
|
|
60682
|
-
namespace: keyPrefix,
|
|
60809
|
+
namespace: keyPrefix$1,
|
|
60683
60810
|
representationName: "IDValue",
|
|
60684
60811
|
version: VERSION$16
|
|
60685
60812
|
},
|
|
@@ -60730,7 +60857,7 @@ function getTypeCacheKeys$10(cacheKeySink, astNode, state) {
|
|
|
60730
60857
|
const { path, data, luvio } = state;
|
|
60731
60858
|
const rootKey = keyBuilder$10(luvio, path);
|
|
60732
60859
|
cacheKeySink.set(rootKey, {
|
|
60733
|
-
namespace: keyPrefix,
|
|
60860
|
+
namespace: keyPrefix$1,
|
|
60734
60861
|
mergeable: true,
|
|
60735
60862
|
representationName: name$X
|
|
60736
60863
|
});
|
|
@@ -60815,7 +60942,7 @@ function ingest$Y(astNode, state) {
|
|
|
60815
60942
|
mergeData: mergeData$W,
|
|
60816
60943
|
storeMetadataParams: {
|
|
60817
60944
|
ttl: TTL$1,
|
|
60818
|
-
namespace: keyPrefix,
|
|
60945
|
+
namespace: keyPrefix$1,
|
|
60819
60946
|
representationName: "DateTimeValue",
|
|
60820
60947
|
version: VERSION$15
|
|
60821
60948
|
},
|
|
@@ -60866,7 +60993,7 @@ function getTypeCacheKeys$$(cacheKeySink, astNode, state) {
|
|
|
60866
60993
|
const { path, data, luvio } = state;
|
|
60867
60994
|
const rootKey = keyBuilder$$(luvio, path);
|
|
60868
60995
|
cacheKeySink.set(rootKey, {
|
|
60869
|
-
namespace: keyPrefix,
|
|
60996
|
+
namespace: keyPrefix$1,
|
|
60870
60997
|
mergeable: true,
|
|
60871
60998
|
representationName: name$W
|
|
60872
60999
|
});
|
|
@@ -60957,7 +61084,7 @@ function ingest$X(astNode, state) {
|
|
|
60957
61084
|
mergeData: mergeData$V,
|
|
60958
61085
|
storeMetadataParams: {
|
|
60959
61086
|
ttl: TTL$1,
|
|
60960
|
-
namespace: keyPrefix,
|
|
61087
|
+
namespace: keyPrefix$1,
|
|
60961
61088
|
representationName: "BooleanValue",
|
|
60962
61089
|
version: VERSION$14
|
|
60963
61090
|
},
|
|
@@ -61008,7 +61135,7 @@ function getTypeCacheKeys$_(cacheKeySink, astNode, state) {
|
|
|
61008
61135
|
const { path, data, luvio } = state;
|
|
61009
61136
|
const rootKey = keyBuilder$_(luvio, path);
|
|
61010
61137
|
cacheKeySink.set(rootKey, {
|
|
61011
|
-
namespace: keyPrefix,
|
|
61138
|
+
namespace: keyPrefix$1,
|
|
61012
61139
|
mergeable: true,
|
|
61013
61140
|
representationName: name$V
|
|
61014
61141
|
});
|
|
@@ -61093,7 +61220,7 @@ function ingest$W(astNode, state) {
|
|
|
61093
61220
|
mergeData: mergeData$U,
|
|
61094
61221
|
storeMetadataParams: {
|
|
61095
61222
|
ttl: TTL$1,
|
|
61096
|
-
namespace: keyPrefix,
|
|
61223
|
+
namespace: keyPrefix$1,
|
|
61097
61224
|
representationName: "TimeValue",
|
|
61098
61225
|
version: VERSION$13
|
|
61099
61226
|
},
|
|
@@ -61144,7 +61271,7 @@ function getTypeCacheKeys$Z(cacheKeySink, astNode, state) {
|
|
|
61144
61271
|
const { path, data, luvio } = state;
|
|
61145
61272
|
const rootKey = keyBuilder$Z(luvio, path);
|
|
61146
61273
|
cacheKeySink.set(rootKey, {
|
|
61147
|
-
namespace: keyPrefix,
|
|
61274
|
+
namespace: keyPrefix$1,
|
|
61148
61275
|
mergeable: true,
|
|
61149
61276
|
representationName: name$U
|
|
61150
61277
|
});
|
|
@@ -61235,7 +61362,7 @@ function ingest$V(astNode, state) {
|
|
|
61235
61362
|
mergeData: mergeData$T,
|
|
61236
61363
|
storeMetadataParams: {
|
|
61237
61364
|
ttl: TTL$1,
|
|
61238
|
-
namespace: keyPrefix,
|
|
61365
|
+
namespace: keyPrefix$1,
|
|
61239
61366
|
representationName: "DateValue",
|
|
61240
61367
|
version: VERSION$12
|
|
61241
61368
|
},
|
|
@@ -61286,7 +61413,7 @@ function getTypeCacheKeys$Y(cacheKeySink, astNode, state) {
|
|
|
61286
61413
|
const { path, data, luvio } = state;
|
|
61287
61414
|
const rootKey = keyBuilder$Y(luvio, path);
|
|
61288
61415
|
cacheKeySink.set(rootKey, {
|
|
61289
|
-
namespace: keyPrefix,
|
|
61416
|
+
namespace: keyPrefix$1,
|
|
61290
61417
|
mergeable: true,
|
|
61291
61418
|
representationName: name$T
|
|
61292
61419
|
});
|
|
@@ -61377,7 +61504,7 @@ function ingest$U(astNode, state) {
|
|
|
61377
61504
|
mergeData: mergeData$S,
|
|
61378
61505
|
storeMetadataParams: {
|
|
61379
61506
|
ttl: TTL$1,
|
|
61380
|
-
namespace: keyPrefix,
|
|
61507
|
+
namespace: keyPrefix$1,
|
|
61381
61508
|
representationName: "TextAreaValue",
|
|
61382
61509
|
version: VERSION$11
|
|
61383
61510
|
},
|
|
@@ -61428,7 +61555,7 @@ function getTypeCacheKeys$X(cacheKeySink, astNode, state) {
|
|
|
61428
61555
|
const { path, data, luvio } = state;
|
|
61429
61556
|
const rootKey = keyBuilder$X(luvio, path);
|
|
61430
61557
|
cacheKeySink.set(rootKey, {
|
|
61431
|
-
namespace: keyPrefix,
|
|
61558
|
+
namespace: keyPrefix$1,
|
|
61432
61559
|
mergeable: true,
|
|
61433
61560
|
representationName: name$S
|
|
61434
61561
|
});
|
|
@@ -61513,7 +61640,7 @@ function ingest$T(astNode, state) {
|
|
|
61513
61640
|
mergeData: mergeData$R,
|
|
61514
61641
|
storeMetadataParams: {
|
|
61515
61642
|
ttl: TTL$1,
|
|
61516
|
-
namespace: keyPrefix,
|
|
61643
|
+
namespace: keyPrefix$1,
|
|
61517
61644
|
representationName: "LongTextAreaValue",
|
|
61518
61645
|
version: VERSION$10
|
|
61519
61646
|
},
|
|
@@ -61564,7 +61691,7 @@ function getTypeCacheKeys$W(cacheKeySink, astNode, state) {
|
|
|
61564
61691
|
const { path, data, luvio } = state;
|
|
61565
61692
|
const rootKey = keyBuilder$W(luvio, path);
|
|
61566
61693
|
cacheKeySink.set(rootKey, {
|
|
61567
|
-
namespace: keyPrefix,
|
|
61694
|
+
namespace: keyPrefix$1,
|
|
61568
61695
|
mergeable: true,
|
|
61569
61696
|
representationName: name$R
|
|
61570
61697
|
});
|
|
@@ -61649,7 +61776,7 @@ function ingest$S(astNode, state) {
|
|
|
61649
61776
|
mergeData: mergeData$Q,
|
|
61650
61777
|
storeMetadataParams: {
|
|
61651
61778
|
ttl: TTL$1,
|
|
61652
|
-
namespace: keyPrefix,
|
|
61779
|
+
namespace: keyPrefix$1,
|
|
61653
61780
|
representationName: "RichTextAreaValue",
|
|
61654
61781
|
version: VERSION$$
|
|
61655
61782
|
},
|
|
@@ -61700,7 +61827,7 @@ function getTypeCacheKeys$V(cacheKeySink, astNode, state) {
|
|
|
61700
61827
|
const { path, data, luvio } = state;
|
|
61701
61828
|
const rootKey = keyBuilder$V(luvio, path);
|
|
61702
61829
|
cacheKeySink.set(rootKey, {
|
|
61703
|
-
namespace: keyPrefix,
|
|
61830
|
+
namespace: keyPrefix$1,
|
|
61704
61831
|
mergeable: true,
|
|
61705
61832
|
representationName: name$Q
|
|
61706
61833
|
});
|
|
@@ -61785,7 +61912,7 @@ function ingest$R(astNode, state) {
|
|
|
61785
61912
|
mergeData: mergeData$P,
|
|
61786
61913
|
storeMetadataParams: {
|
|
61787
61914
|
ttl: TTL$1,
|
|
61788
|
-
namespace: keyPrefix,
|
|
61915
|
+
namespace: keyPrefix$1,
|
|
61789
61916
|
representationName: "PhoneNumberValue",
|
|
61790
61917
|
version: VERSION$_
|
|
61791
61918
|
},
|
|
@@ -61836,7 +61963,7 @@ function getTypeCacheKeys$U(cacheKeySink, astNode, state) {
|
|
|
61836
61963
|
const { path, data, luvio } = state;
|
|
61837
61964
|
const rootKey = keyBuilder$U(luvio, path);
|
|
61838
61965
|
cacheKeySink.set(rootKey, {
|
|
61839
|
-
namespace: keyPrefix,
|
|
61966
|
+
namespace: keyPrefix$1,
|
|
61840
61967
|
mergeable: true,
|
|
61841
61968
|
representationName: name$P
|
|
61842
61969
|
});
|
|
@@ -61921,7 +62048,7 @@ function ingest$Q(astNode, state) {
|
|
|
61921
62048
|
mergeData: mergeData$O,
|
|
61922
62049
|
storeMetadataParams: {
|
|
61923
62050
|
ttl: TTL$1,
|
|
61924
|
-
namespace: keyPrefix,
|
|
62051
|
+
namespace: keyPrefix$1,
|
|
61925
62052
|
representationName: "EmailValue",
|
|
61926
62053
|
version: VERSION$Z
|
|
61927
62054
|
},
|
|
@@ -61972,7 +62099,7 @@ function getTypeCacheKeys$T(cacheKeySink, astNode, state) {
|
|
|
61972
62099
|
const { path, data, luvio } = state;
|
|
61973
62100
|
const rootKey = keyBuilder$T(luvio, path);
|
|
61974
62101
|
cacheKeySink.set(rootKey, {
|
|
61975
|
-
namespace: keyPrefix,
|
|
62102
|
+
namespace: keyPrefix$1,
|
|
61976
62103
|
mergeable: true,
|
|
61977
62104
|
representationName: name$O
|
|
61978
62105
|
});
|
|
@@ -62057,7 +62184,7 @@ function ingest$P(astNode, state) {
|
|
|
62057
62184
|
mergeData: mergeData$N,
|
|
62058
62185
|
storeMetadataParams: {
|
|
62059
62186
|
ttl: TTL$1,
|
|
62060
|
-
namespace: keyPrefix,
|
|
62187
|
+
namespace: keyPrefix$1,
|
|
62061
62188
|
representationName: "UrlValue",
|
|
62062
62189
|
version: VERSION$Y
|
|
62063
62190
|
},
|
|
@@ -62108,7 +62235,7 @@ function getTypeCacheKeys$S(cacheKeySink, astNode, state) {
|
|
|
62108
62235
|
const { path, data, luvio } = state;
|
|
62109
62236
|
const rootKey = keyBuilder$S(luvio, path);
|
|
62110
62237
|
cacheKeySink.set(rootKey, {
|
|
62111
|
-
namespace: keyPrefix,
|
|
62238
|
+
namespace: keyPrefix$1,
|
|
62112
62239
|
mergeable: true,
|
|
62113
62240
|
representationName: name$N
|
|
62114
62241
|
});
|
|
@@ -62193,7 +62320,7 @@ function ingest$O(astNode, state) {
|
|
|
62193
62320
|
mergeData: mergeData$M,
|
|
62194
62321
|
storeMetadataParams: {
|
|
62195
62322
|
ttl: TTL$1,
|
|
62196
|
-
namespace: keyPrefix,
|
|
62323
|
+
namespace: keyPrefix$1,
|
|
62197
62324
|
representationName: "EncryptedStringValue",
|
|
62198
62325
|
version: VERSION$X
|
|
62199
62326
|
},
|
|
@@ -62244,7 +62371,7 @@ function getTypeCacheKeys$R(cacheKeySink, astNode, state) {
|
|
|
62244
62371
|
const { path, data, luvio } = state;
|
|
62245
62372
|
const rootKey = keyBuilder$R(luvio, path);
|
|
62246
62373
|
cacheKeySink.set(rootKey, {
|
|
62247
|
-
namespace: keyPrefix,
|
|
62374
|
+
namespace: keyPrefix$1,
|
|
62248
62375
|
mergeable: true,
|
|
62249
62376
|
representationName: name$M
|
|
62250
62377
|
});
|
|
@@ -62329,7 +62456,7 @@ function ingest$N(astNode, state) {
|
|
|
62329
62456
|
mergeData: mergeData$L,
|
|
62330
62457
|
storeMetadataParams: {
|
|
62331
62458
|
ttl: TTL$1,
|
|
62332
|
-
namespace: keyPrefix,
|
|
62459
|
+
namespace: keyPrefix$1,
|
|
62333
62460
|
representationName: "CurrencyValue",
|
|
62334
62461
|
version: VERSION$W
|
|
62335
62462
|
},
|
|
@@ -62380,7 +62507,7 @@ function getTypeCacheKeys$Q(cacheKeySink, astNode, state) {
|
|
|
62380
62507
|
const { path, data, luvio } = state;
|
|
62381
62508
|
const rootKey = keyBuilder$Q(luvio, path);
|
|
62382
62509
|
cacheKeySink.set(rootKey, {
|
|
62383
|
-
namespace: keyPrefix,
|
|
62510
|
+
namespace: keyPrefix$1,
|
|
62384
62511
|
mergeable: true,
|
|
62385
62512
|
representationName: name$L
|
|
62386
62513
|
});
|
|
@@ -62471,7 +62598,7 @@ function ingest$M(astNode, state) {
|
|
|
62471
62598
|
mergeData: mergeData$K,
|
|
62472
62599
|
storeMetadataParams: {
|
|
62473
62600
|
ttl: TTL$1,
|
|
62474
|
-
namespace: keyPrefix,
|
|
62601
|
+
namespace: keyPrefix$1,
|
|
62475
62602
|
representationName: "LongitudeValue",
|
|
62476
62603
|
version: VERSION$V
|
|
62477
62604
|
},
|
|
@@ -62522,7 +62649,7 @@ function getTypeCacheKeys$P(cacheKeySink, astNode, state) {
|
|
|
62522
62649
|
const { path, data, luvio } = state;
|
|
62523
62650
|
const rootKey = keyBuilder$P(luvio, path);
|
|
62524
62651
|
cacheKeySink.set(rootKey, {
|
|
62525
|
-
namespace: keyPrefix,
|
|
62652
|
+
namespace: keyPrefix$1,
|
|
62526
62653
|
mergeable: true,
|
|
62527
62654
|
representationName: name$K
|
|
62528
62655
|
});
|
|
@@ -62607,7 +62734,7 @@ function ingest$L(astNode, state) {
|
|
|
62607
62734
|
mergeData: mergeData$J,
|
|
62608
62735
|
storeMetadataParams: {
|
|
62609
62736
|
ttl: TTL$1,
|
|
62610
|
-
namespace: keyPrefix,
|
|
62737
|
+
namespace: keyPrefix$1,
|
|
62611
62738
|
representationName: "LatitudeValue",
|
|
62612
62739
|
version: VERSION$U
|
|
62613
62740
|
},
|
|
@@ -62658,7 +62785,7 @@ function getTypeCacheKeys$O(cacheKeySink, astNode, state) {
|
|
|
62658
62785
|
const { path, data, luvio } = state;
|
|
62659
62786
|
const rootKey = keyBuilder$O(luvio, path);
|
|
62660
62787
|
cacheKeySink.set(rootKey, {
|
|
62661
|
-
namespace: keyPrefix,
|
|
62788
|
+
namespace: keyPrefix$1,
|
|
62662
62789
|
mergeable: true,
|
|
62663
62790
|
representationName: name$J
|
|
62664
62791
|
});
|
|
@@ -62743,7 +62870,7 @@ function ingest$K(astNode, state) {
|
|
|
62743
62870
|
mergeData: mergeData$I,
|
|
62744
62871
|
storeMetadataParams: {
|
|
62745
62872
|
ttl: TTL$1,
|
|
62746
|
-
namespace: keyPrefix,
|
|
62873
|
+
namespace: keyPrefix$1,
|
|
62747
62874
|
representationName: "PicklistValue",
|
|
62748
62875
|
version: VERSION$T
|
|
62749
62876
|
},
|
|
@@ -62794,7 +62921,7 @@ function getTypeCacheKeys$N(cacheKeySink, astNode, state) {
|
|
|
62794
62921
|
const { path, data, luvio } = state;
|
|
62795
62922
|
const rootKey = keyBuilder$N(luvio, path);
|
|
62796
62923
|
cacheKeySink.set(rootKey, {
|
|
62797
|
-
namespace: keyPrefix,
|
|
62924
|
+
namespace: keyPrefix$1,
|
|
62798
62925
|
mergeable: true,
|
|
62799
62926
|
representationName: name$I
|
|
62800
62927
|
});
|
|
@@ -62885,7 +63012,7 @@ function ingest$J(astNode, state) {
|
|
|
62885
63012
|
mergeData: mergeData$H,
|
|
62886
63013
|
storeMetadataParams: {
|
|
62887
63014
|
ttl: TTL$1,
|
|
62888
|
-
namespace: keyPrefix,
|
|
63015
|
+
namespace: keyPrefix$1,
|
|
62889
63016
|
representationName: "MultiPicklistValue",
|
|
62890
63017
|
version: VERSION$S
|
|
62891
63018
|
},
|
|
@@ -62936,7 +63063,7 @@ function getTypeCacheKeys$M(cacheKeySink, astNode, state) {
|
|
|
62936
63063
|
const { path, data, luvio } = state;
|
|
62937
63064
|
const rootKey = keyBuilder$M(luvio, path);
|
|
62938
63065
|
cacheKeySink.set(rootKey, {
|
|
62939
|
-
namespace: keyPrefix,
|
|
63066
|
+
namespace: keyPrefix$1,
|
|
62940
63067
|
mergeable: true,
|
|
62941
63068
|
representationName: name$H
|
|
62942
63069
|
});
|
|
@@ -63027,7 +63154,7 @@ function ingest$I(astNode, state) {
|
|
|
63027
63154
|
mergeData: mergeData$G,
|
|
63028
63155
|
storeMetadataParams: {
|
|
63029
63156
|
ttl: TTL$1,
|
|
63030
|
-
namespace: keyPrefix,
|
|
63157
|
+
namespace: keyPrefix$1,
|
|
63031
63158
|
representationName: "Base64Value",
|
|
63032
63159
|
version: VERSION$R
|
|
63033
63160
|
},
|
|
@@ -63078,7 +63205,7 @@ function getTypeCacheKeys$L(cacheKeySink, astNode, state) {
|
|
|
63078
63205
|
const { path, data, luvio } = state;
|
|
63079
63206
|
const rootKey = keyBuilder$L(luvio, path);
|
|
63080
63207
|
cacheKeySink.set(rootKey, {
|
|
63081
|
-
namespace: keyPrefix,
|
|
63208
|
+
namespace: keyPrefix$1,
|
|
63082
63209
|
mergeable: true,
|
|
63083
63210
|
representationName: name$G
|
|
63084
63211
|
});
|
|
@@ -63163,7 +63290,7 @@ function ingest$H(astNode, state) {
|
|
|
63163
63290
|
mergeData: mergeData$F,
|
|
63164
63291
|
storeMetadataParams: {
|
|
63165
63292
|
ttl: TTL$1,
|
|
63166
|
-
namespace: keyPrefix,
|
|
63293
|
+
namespace: keyPrefix$1,
|
|
63167
63294
|
representationName: "JSONValue",
|
|
63168
63295
|
version: VERSION$Q
|
|
63169
63296
|
},
|
|
@@ -63214,7 +63341,7 @@ function getTypeCacheKeys$K(cacheKeySink, astNode, state) {
|
|
|
63214
63341
|
const { path, data, luvio } = state;
|
|
63215
63342
|
const rootKey = keyBuilder$K(luvio, path);
|
|
63216
63343
|
cacheKeySink.set(rootKey, {
|
|
63217
|
-
namespace: keyPrefix,
|
|
63344
|
+
namespace: keyPrefix$1,
|
|
63218
63345
|
mergeable: true,
|
|
63219
63346
|
representationName: name$F
|
|
63220
63347
|
});
|
|
@@ -63507,7 +63634,7 @@ function getFieldType$M(field) {
|
|
|
63507
63634
|
}
|
|
63508
63635
|
}
|
|
63509
63636
|
|
|
63510
|
-
const { assign: assign$1, create: create$2, freeze: freeze$2, keys: keys$2 } = Object;
|
|
63637
|
+
const { assign: assign$1, create: create$2, freeze: freeze$2, isFrozen: isFrozen$1, keys: keys$2 } = Object;
|
|
63511
63638
|
const { isArray: isArray$2 } = Array;
|
|
63512
63639
|
const { concat: concat$1, filter: filter$1, includes: includes$1, push: push$1, reduce: reduce$1 } = Array.prototype;
|
|
63513
63640
|
|
|
@@ -63516,7 +63643,7 @@ const getTypeCacheKeys$I = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
63516
63643
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
63517
63644
|
const rootKey = keyBuilderFromType(luvio, input);
|
|
63518
63645
|
rootKeySet.set(rootKey, {
|
|
63519
|
-
namespace: keyPrefix,
|
|
63646
|
+
namespace: keyPrefix$1,
|
|
63520
63647
|
representationName: RepresentationType$2,
|
|
63521
63648
|
mergeable: true,
|
|
63522
63649
|
});
|
|
@@ -63542,7 +63669,7 @@ function getTypeCacheKeys$H(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
63542
63669
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
63543
63670
|
const rootKey = fullPathFactory();
|
|
63544
63671
|
rootKeySet.set(rootKey, {
|
|
63545
|
-
namespace: keyPrefix,
|
|
63672
|
+
namespace: keyPrefix$1,
|
|
63546
63673
|
representationName: RepresentationType$3,
|
|
63547
63674
|
mergeable: false
|
|
63548
63675
|
});
|
|
@@ -63555,7 +63682,7 @@ function getTypeCacheKeys$H(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
63555
63682
|
const VERSION$O = "98c5b18512e48ca8d28727549507e4ba";
|
|
63556
63683
|
const RepresentationType$2 = 'RecordRepresentation';
|
|
63557
63684
|
function keyBuilder$J(luvio, config) {
|
|
63558
|
-
return keyPrefix + '::' + RepresentationType$2 + ':' + config.recordId;
|
|
63685
|
+
return keyPrefix$1 + '::' + RepresentationType$2 + ':' + config.recordId;
|
|
63559
63686
|
}
|
|
63560
63687
|
function keyBuilderFromType(luvio, object) {
|
|
63561
63688
|
const keyParams = {
|
|
@@ -63570,7 +63697,7 @@ function getTypeCacheKeys$G(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
63570
63697
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
63571
63698
|
const rootKey = fullPathFactory();
|
|
63572
63699
|
rootKeySet.set(rootKey, {
|
|
63573
|
-
namespace: keyPrefix,
|
|
63700
|
+
namespace: keyPrefix$1,
|
|
63574
63701
|
representationName: RepresentationType$1,
|
|
63575
63702
|
mergeable: false
|
|
63576
63703
|
});
|
|
@@ -63775,7 +63902,7 @@ function ingest$F(astNode, state) {
|
|
|
63775
63902
|
mergeData: mergeData$E,
|
|
63776
63903
|
storeMetadataParams: {
|
|
63777
63904
|
ttl: TTL$1,
|
|
63778
|
-
namespace: keyPrefix,
|
|
63905
|
+
namespace: keyPrefix$1,
|
|
63779
63906
|
representationName: "CompoundField",
|
|
63780
63907
|
version: VERSION$M
|
|
63781
63908
|
},
|
|
@@ -63818,7 +63945,7 @@ function getTypeCacheKeys$F(cacheKeySink, astNode, state) {
|
|
|
63818
63945
|
const { path, data, luvio } = state;
|
|
63819
63946
|
const rootKey = keyBuilder$I(luvio, path);
|
|
63820
63947
|
cacheKeySink.set(rootKey, {
|
|
63821
|
-
namespace: keyPrefix,
|
|
63948
|
+
namespace: keyPrefix$1,
|
|
63822
63949
|
mergeable: true,
|
|
63823
63950
|
representationName: name$E
|
|
63824
63951
|
});
|
|
@@ -64781,7 +64908,7 @@ function ingest$E(astNode, state) {
|
|
|
64781
64908
|
mergeData: mergeData$D,
|
|
64782
64909
|
storeMetadataParams: {
|
|
64783
64910
|
ttl: TTL$1,
|
|
64784
|
-
namespace: keyPrefix,
|
|
64911
|
+
namespace: keyPrefix$1,
|
|
64785
64912
|
representationName: "PageInfo",
|
|
64786
64913
|
version: VERSION$L
|
|
64787
64914
|
},
|
|
@@ -64844,7 +64971,7 @@ function getTypeCacheKeys$E(cacheKeySink, astNode, state) {
|
|
|
64844
64971
|
const { path, data, luvio } = state;
|
|
64845
64972
|
const rootKey = keyBuilder$H(luvio, path);
|
|
64846
64973
|
cacheKeySink.set(rootKey, {
|
|
64847
|
-
namespace: keyPrefix,
|
|
64974
|
+
namespace: keyPrefix$1,
|
|
64848
64975
|
mergeable: true,
|
|
64849
64976
|
representationName: name$D
|
|
64850
64977
|
});
|
|
@@ -64918,7 +65045,7 @@ function getTypeCacheKeys$D(cacheKeySink, astNode, state) {
|
|
|
64918
65045
|
const { path, data, luvio } = state;
|
|
64919
65046
|
const rootKey = keyBuilder$E(luvio, path);
|
|
64920
65047
|
cacheKeySink.set(rootKey, {
|
|
64921
|
-
namespace: keyPrefix,
|
|
65048
|
+
namespace: keyPrefix$1,
|
|
64922
65049
|
mergeable: true,
|
|
64923
65050
|
representationName: name$A,
|
|
64924
65051
|
});
|
|
@@ -64958,7 +65085,7 @@ function getTypeCacheKeys$D(cacheKeySink, astNode, state) {
|
|
|
64958
65085
|
case 'PageInfo': {
|
|
64959
65086
|
// I guess just return the pagination key here since pagination replaced it.
|
|
64960
65087
|
cacheKeySink.set(`${rootKey}__pagination`, {
|
|
64961
|
-
namespace: keyPrefix,
|
|
65088
|
+
namespace: keyPrefix$1,
|
|
64962
65089
|
mergeable: true,
|
|
64963
65090
|
representationName: name$D,
|
|
64964
65091
|
});
|
|
@@ -64976,7 +65103,7 @@ function getMappedTypeCacheKeys(cache, astNode, state) {
|
|
|
64976
65103
|
const name$C = 'RecordRepresentation';
|
|
64977
65104
|
const VERSION$K = 'b09728109b666bc69fe789bade015193';
|
|
64978
65105
|
function keyBuilder$G(luvio, path, data) {
|
|
64979
|
-
return keyPrefix + '::uiapi::' + name$C + '::' + data.Id; // We're missing idNodeName in the actual key here...
|
|
65106
|
+
return keyPrefix$1 + '::uiapi::' + name$C + '::' + data.Id; // We're missing idNodeName in the actual key here...
|
|
64980
65107
|
}
|
|
64981
65108
|
function mergeData$C(existingData, newData) {
|
|
64982
65109
|
return {
|
|
@@ -65000,7 +65127,7 @@ function ingest$D(astNode, state) {
|
|
|
65000
65127
|
mergeData: mergeData$C,
|
|
65001
65128
|
storeMetadataParams: {
|
|
65002
65129
|
ttl: TTL$1,
|
|
65003
|
-
namespace: keyPrefix,
|
|
65130
|
+
namespace: keyPrefix$1,
|
|
65004
65131
|
representationName: "RecordRepresentation",
|
|
65005
65132
|
version: VERSION$K
|
|
65006
65133
|
},
|
|
@@ -65161,7 +65288,7 @@ function getTypeCacheKeys$C(cacheKeySink, astNode, state) {
|
|
|
65161
65288
|
const { path, data, luvio } = state;
|
|
65162
65289
|
const rootKey = keyBuilder$G(luvio, path, data);
|
|
65163
65290
|
cacheKeySink.set(rootKey, {
|
|
65164
|
-
namespace: keyPrefix,
|
|
65291
|
+
namespace: keyPrefix$1,
|
|
65165
65292
|
mergeable: true,
|
|
65166
65293
|
representationName: name$C
|
|
65167
65294
|
});
|
|
@@ -65536,7 +65663,7 @@ function ingest$C(astNode, state) {
|
|
|
65536
65663
|
mergeData: mergeData$B,
|
|
65537
65664
|
storeMetadataParams: {
|
|
65538
65665
|
ttl: TTL$1,
|
|
65539
|
-
namespace: keyPrefix,
|
|
65666
|
+
namespace: keyPrefix$1,
|
|
65540
65667
|
representationName: "RecordEdge",
|
|
65541
65668
|
version: VERSION$J
|
|
65542
65669
|
},
|
|
@@ -65598,7 +65725,7 @@ function getTypeCacheKeys$B(cacheKeySink, astNode, state) {
|
|
|
65598
65725
|
const { path, data, luvio } = state;
|
|
65599
65726
|
const rootKey = keyBuilder$F(luvio, path);
|
|
65600
65727
|
cacheKeySink.set(rootKey, {
|
|
65601
|
-
namespace: keyPrefix,
|
|
65728
|
+
namespace: keyPrefix$1,
|
|
65602
65729
|
mergeable: true,
|
|
65603
65730
|
representationName: name$B
|
|
65604
65731
|
});
|
|
@@ -65757,7 +65884,7 @@ function ingest$B(astNode, state) {
|
|
|
65757
65884
|
mergeData: mergeData$A,
|
|
65758
65885
|
storeMetadataParams: {
|
|
65759
65886
|
ttl: TTL$4,
|
|
65760
|
-
namespace: keyPrefix,
|
|
65887
|
+
namespace: keyPrefix$1,
|
|
65761
65888
|
representationName: "RecordConnection",
|
|
65762
65889
|
version: VERSION$I
|
|
65763
65890
|
},
|
|
@@ -65940,7 +66067,7 @@ function ingest$A(astNode, state) {
|
|
|
65940
66067
|
mergeData: mergeData$z,
|
|
65941
66068
|
storeMetadataParams: {
|
|
65942
66069
|
ttl: TTL$1,
|
|
65943
|
-
namespace: keyPrefix,
|
|
66070
|
+
namespace: keyPrefix$1,
|
|
65944
66071
|
representationName: "RecordQuery",
|
|
65945
66072
|
version: VERSION$H
|
|
65946
66073
|
},
|
|
@@ -66002,7 +66129,7 @@ function getTypeCacheKeys$A(cacheKeySink, astNode, state) {
|
|
|
66002
66129
|
const { path, data, luvio } = state;
|
|
66003
66130
|
const rootKey = keyBuilder$D(luvio, path);
|
|
66004
66131
|
cacheKeySink.set(rootKey, {
|
|
66005
|
-
namespace: keyPrefix,
|
|
66132
|
+
namespace: keyPrefix$1,
|
|
66006
66133
|
mergeable: true,
|
|
66007
66134
|
representationName: name$z
|
|
66008
66135
|
});
|
|
@@ -66084,7 +66211,7 @@ function ingest$z(astNode, state) {
|
|
|
66084
66211
|
mergeData: mergeData$y,
|
|
66085
66212
|
storeMetadataParams: {
|
|
66086
66213
|
ttl: TTL$1,
|
|
66087
|
-
namespace: keyPrefix,
|
|
66214
|
+
namespace: keyPrefix$1,
|
|
66088
66215
|
representationName: "BooleanAggregate",
|
|
66089
66216
|
version: VERSION$G
|
|
66090
66217
|
},
|
|
@@ -66151,7 +66278,7 @@ function getTypeCacheKeys$z(cacheKeySink, astNode, state) {
|
|
|
66151
66278
|
const { path, data, luvio } = state;
|
|
66152
66279
|
const rootKey = keyBuilder$C(luvio, path);
|
|
66153
66280
|
cacheKeySink.set(rootKey, {
|
|
66154
|
-
namespace: keyPrefix,
|
|
66281
|
+
namespace: keyPrefix$1,
|
|
66155
66282
|
mergeable: true,
|
|
66156
66283
|
representationName: name$y
|
|
66157
66284
|
});
|
|
@@ -66267,7 +66394,7 @@ function ingest$y(astNode, state) {
|
|
|
66267
66394
|
mergeData: mergeData$x,
|
|
66268
66395
|
storeMetadataParams: {
|
|
66269
66396
|
ttl: TTL$1,
|
|
66270
|
-
namespace: keyPrefix,
|
|
66397
|
+
namespace: keyPrefix$1,
|
|
66271
66398
|
representationName: "CurrencyAggregate",
|
|
66272
66399
|
version: VERSION$F
|
|
66273
66400
|
},
|
|
@@ -66342,7 +66469,7 @@ function getTypeCacheKeys$y(cacheKeySink, astNode, state) {
|
|
|
66342
66469
|
const { path, data, luvio } = state;
|
|
66343
66470
|
const rootKey = keyBuilder$B(luvio, path);
|
|
66344
66471
|
cacheKeySink.set(rootKey, {
|
|
66345
|
-
namespace: keyPrefix,
|
|
66472
|
+
namespace: keyPrefix$1,
|
|
66346
66473
|
mergeable: true,
|
|
66347
66474
|
representationName: name$x
|
|
66348
66475
|
});
|
|
@@ -66529,7 +66656,7 @@ function ingest$x(astNode, state) {
|
|
|
66529
66656
|
mergeData: mergeData$w,
|
|
66530
66657
|
storeMetadataParams: {
|
|
66531
66658
|
ttl: TTL$1,
|
|
66532
|
-
namespace: keyPrefix,
|
|
66659
|
+
namespace: keyPrefix$1,
|
|
66533
66660
|
representationName: "DateFunctionAggregation",
|
|
66534
66661
|
version: VERSION$E
|
|
66535
66662
|
},
|
|
@@ -66592,7 +66719,7 @@ function getTypeCacheKeys$x(cacheKeySink, astNode, state) {
|
|
|
66592
66719
|
const { path, data, luvio } = state;
|
|
66593
66720
|
const rootKey = keyBuilder$A(luvio, path);
|
|
66594
66721
|
cacheKeySink.set(rootKey, {
|
|
66595
|
-
namespace: keyPrefix,
|
|
66722
|
+
namespace: keyPrefix$1,
|
|
66596
66723
|
mergeable: true,
|
|
66597
66724
|
representationName: name$w
|
|
66598
66725
|
});
|
|
@@ -66677,7 +66804,7 @@ function ingest$w(astNode, state) {
|
|
|
66677
66804
|
mergeData: mergeData$v,
|
|
66678
66805
|
storeMetadataParams: {
|
|
66679
66806
|
ttl: TTL$1,
|
|
66680
|
-
namespace: keyPrefix,
|
|
66807
|
+
namespace: keyPrefix$1,
|
|
66681
66808
|
representationName: "DateAggregate",
|
|
66682
66809
|
version: VERSION$D
|
|
66683
66810
|
},
|
|
@@ -66756,7 +66883,7 @@ function getTypeCacheKeys$w(cacheKeySink, astNode, state) {
|
|
|
66756
66883
|
const { path, data, luvio } = state;
|
|
66757
66884
|
const rootKey = keyBuilder$z(luvio, path);
|
|
66758
66885
|
cacheKeySink.set(rootKey, {
|
|
66759
|
-
namespace: keyPrefix,
|
|
66886
|
+
namespace: keyPrefix$1,
|
|
66760
66887
|
mergeable: true,
|
|
66761
66888
|
representationName: name$v
|
|
66762
66889
|
});
|
|
@@ -67058,7 +67185,7 @@ function ingest$v(astNode, state) {
|
|
|
67058
67185
|
mergeData: mergeData$u,
|
|
67059
67186
|
storeMetadataParams: {
|
|
67060
67187
|
ttl: TTL$1,
|
|
67061
|
-
namespace: keyPrefix,
|
|
67188
|
+
namespace: keyPrefix$1,
|
|
67062
67189
|
representationName: "DoubleAggregate",
|
|
67063
67190
|
version: VERSION$C
|
|
67064
67191
|
},
|
|
@@ -67129,7 +67256,7 @@ function getTypeCacheKeys$v(cacheKeySink, astNode, state) {
|
|
|
67129
67256
|
const { path, data, luvio } = state;
|
|
67130
67257
|
const rootKey = keyBuilder$y(luvio, path);
|
|
67131
67258
|
cacheKeySink.set(rootKey, {
|
|
67132
|
-
namespace: keyPrefix,
|
|
67259
|
+
namespace: keyPrefix$1,
|
|
67133
67260
|
mergeable: true,
|
|
67134
67261
|
representationName: name$u
|
|
67135
67262
|
});
|
|
@@ -67311,7 +67438,7 @@ function ingest$u(astNode, state) {
|
|
|
67311
67438
|
mergeData: mergeData$t,
|
|
67312
67439
|
storeMetadataParams: {
|
|
67313
67440
|
ttl: TTL$1,
|
|
67314
|
-
namespace: keyPrefix,
|
|
67441
|
+
namespace: keyPrefix$1,
|
|
67315
67442
|
representationName: "EmailAggregate",
|
|
67316
67443
|
version: VERSION$B
|
|
67317
67444
|
},
|
|
@@ -67386,7 +67513,7 @@ function getTypeCacheKeys$u(cacheKeySink, astNode, state) {
|
|
|
67386
67513
|
const { path, data, luvio } = state;
|
|
67387
67514
|
const rootKey = keyBuilder$x(luvio, path);
|
|
67388
67515
|
cacheKeySink.set(rootKey, {
|
|
67389
|
-
namespace: keyPrefix,
|
|
67516
|
+
namespace: keyPrefix$1,
|
|
67390
67517
|
mergeable: true,
|
|
67391
67518
|
representationName: name$t
|
|
67392
67519
|
});
|
|
@@ -67556,7 +67683,7 @@ function ingest$t(astNode, state) {
|
|
|
67556
67683
|
mergeData: mergeData$s,
|
|
67557
67684
|
storeMetadataParams: {
|
|
67558
67685
|
ttl: TTL$1,
|
|
67559
|
-
namespace: keyPrefix,
|
|
67686
|
+
namespace: keyPrefix$1,
|
|
67560
67687
|
representationName: "IDAggregate",
|
|
67561
67688
|
version: VERSION$A
|
|
67562
67689
|
},
|
|
@@ -67631,7 +67758,7 @@ function getTypeCacheKeys$t(cacheKeySink, astNode, state) {
|
|
|
67631
67758
|
const { path, data, luvio } = state;
|
|
67632
67759
|
const rootKey = keyBuilder$w(luvio, path);
|
|
67633
67760
|
cacheKeySink.set(rootKey, {
|
|
67634
|
-
namespace: keyPrefix,
|
|
67761
|
+
namespace: keyPrefix$1,
|
|
67635
67762
|
mergeable: true,
|
|
67636
67763
|
representationName: name$s
|
|
67637
67764
|
});
|
|
@@ -67801,7 +67928,7 @@ function ingest$s(astNode, state) {
|
|
|
67801
67928
|
mergeData: mergeData$r,
|
|
67802
67929
|
storeMetadataParams: {
|
|
67803
67930
|
ttl: TTL$1,
|
|
67804
|
-
namespace: keyPrefix,
|
|
67931
|
+
namespace: keyPrefix$1,
|
|
67805
67932
|
representationName: "IntAggregate",
|
|
67806
67933
|
version: VERSION$z
|
|
67807
67934
|
},
|
|
@@ -67876,7 +68003,7 @@ function getTypeCacheKeys$s(cacheKeySink, astNode, state) {
|
|
|
67876
68003
|
const { path, data, luvio } = state;
|
|
67877
68004
|
const rootKey = keyBuilder$v(luvio, path);
|
|
67878
68005
|
cacheKeySink.set(rootKey, {
|
|
67879
|
-
namespace: keyPrefix,
|
|
68006
|
+
namespace: keyPrefix$1,
|
|
67880
68007
|
mergeable: true,
|
|
67881
68008
|
representationName: name$r
|
|
67882
68009
|
});
|
|
@@ -68074,7 +68201,7 @@ function ingest$r(astNode, state) {
|
|
|
68074
68201
|
mergeData: mergeData$q,
|
|
68075
68202
|
storeMetadataParams: {
|
|
68076
68203
|
ttl: TTL$1,
|
|
68077
|
-
namespace: keyPrefix,
|
|
68204
|
+
namespace: keyPrefix$1,
|
|
68078
68205
|
representationName: "LatitudeAggregate",
|
|
68079
68206
|
version: VERSION$y
|
|
68080
68207
|
},
|
|
@@ -68149,7 +68276,7 @@ function getTypeCacheKeys$r(cacheKeySink, astNode, state) {
|
|
|
68149
68276
|
const { path, data, luvio } = state;
|
|
68150
68277
|
const rootKey = keyBuilder$u(luvio, path);
|
|
68151
68278
|
cacheKeySink.set(rootKey, {
|
|
68152
|
-
namespace: keyPrefix,
|
|
68279
|
+
namespace: keyPrefix$1,
|
|
68153
68280
|
mergeable: true,
|
|
68154
68281
|
representationName: name$q
|
|
68155
68282
|
});
|
|
@@ -68330,7 +68457,7 @@ function ingest$q(astNode, state) {
|
|
|
68330
68457
|
mergeData: mergeData$p,
|
|
68331
68458
|
storeMetadataParams: {
|
|
68332
68459
|
ttl: TTL$1,
|
|
68333
|
-
namespace: keyPrefix,
|
|
68460
|
+
namespace: keyPrefix$1,
|
|
68334
68461
|
representationName: "LongitudeAggregate",
|
|
68335
68462
|
version: VERSION$x
|
|
68336
68463
|
},
|
|
@@ -68405,7 +68532,7 @@ function getTypeCacheKeys$q(cacheKeySink, astNode, state) {
|
|
|
68405
68532
|
const { path, data, luvio } = state;
|
|
68406
68533
|
const rootKey = keyBuilder$t(luvio, path);
|
|
68407
68534
|
cacheKeySink.set(rootKey, {
|
|
68408
|
-
namespace: keyPrefix,
|
|
68535
|
+
namespace: keyPrefix$1,
|
|
68409
68536
|
mergeable: true,
|
|
68410
68537
|
representationName: name$p
|
|
68411
68538
|
});
|
|
@@ -68586,7 +68713,7 @@ function ingest$p(astNode, state) {
|
|
|
68586
68713
|
mergeData: mergeData$o,
|
|
68587
68714
|
storeMetadataParams: {
|
|
68588
68715
|
ttl: TTL$1,
|
|
68589
|
-
namespace: keyPrefix,
|
|
68716
|
+
namespace: keyPrefix$1,
|
|
68590
68717
|
representationName: "LongAggregate",
|
|
68591
68718
|
version: VERSION$w
|
|
68592
68719
|
},
|
|
@@ -68661,7 +68788,7 @@ function getTypeCacheKeys$p(cacheKeySink, astNode, state) {
|
|
|
68661
68788
|
const { path, data, luvio } = state;
|
|
68662
68789
|
const rootKey = keyBuilder$s(luvio, path);
|
|
68663
68790
|
cacheKeySink.set(rootKey, {
|
|
68664
|
-
namespace: keyPrefix,
|
|
68791
|
+
namespace: keyPrefix$1,
|
|
68665
68792
|
mergeable: true,
|
|
68666
68793
|
representationName: name$o
|
|
68667
68794
|
});
|
|
@@ -68859,7 +68986,7 @@ function ingest$o(astNode, state) {
|
|
|
68859
68986
|
mergeData: mergeData$n,
|
|
68860
68987
|
storeMetadataParams: {
|
|
68861
68988
|
ttl: TTL$1,
|
|
68862
|
-
namespace: keyPrefix,
|
|
68989
|
+
namespace: keyPrefix$1,
|
|
68863
68990
|
representationName: "PhoneNumberAggregate",
|
|
68864
68991
|
version: VERSION$v
|
|
68865
68992
|
},
|
|
@@ -68934,7 +69061,7 @@ function getTypeCacheKeys$o(cacheKeySink, astNode, state) {
|
|
|
68934
69061
|
const { path, data, luvio } = state;
|
|
68935
69062
|
const rootKey = keyBuilder$r(luvio, path);
|
|
68936
69063
|
cacheKeySink.set(rootKey, {
|
|
68937
|
-
namespace: keyPrefix,
|
|
69064
|
+
namespace: keyPrefix$1,
|
|
68938
69065
|
mergeable: true,
|
|
68939
69066
|
representationName: name$n
|
|
68940
69067
|
});
|
|
@@ -69104,7 +69231,7 @@ function ingest$n(astNode, state) {
|
|
|
69104
69231
|
mergeData: mergeData$m,
|
|
69105
69232
|
storeMetadataParams: {
|
|
69106
69233
|
ttl: TTL$1,
|
|
69107
|
-
namespace: keyPrefix,
|
|
69234
|
+
namespace: keyPrefix$1,
|
|
69108
69235
|
representationName: "PicklistAggregate",
|
|
69109
69236
|
version: VERSION$u
|
|
69110
69237
|
},
|
|
@@ -69179,7 +69306,7 @@ function getTypeCacheKeys$n(cacheKeySink, astNode, state) {
|
|
|
69179
69306
|
const { path, data, luvio } = state;
|
|
69180
69307
|
const rootKey = keyBuilder$q(luvio, path);
|
|
69181
69308
|
cacheKeySink.set(rootKey, {
|
|
69182
|
-
namespace: keyPrefix,
|
|
69309
|
+
namespace: keyPrefix$1,
|
|
69183
69310
|
mergeable: true,
|
|
69184
69311
|
representationName: name$m
|
|
69185
69312
|
});
|
|
@@ -69355,7 +69482,7 @@ function ingest$m(astNode, state) {
|
|
|
69355
69482
|
mergeData: mergeData$l,
|
|
69356
69483
|
storeMetadataParams: {
|
|
69357
69484
|
ttl: TTL$1,
|
|
69358
|
-
namespace: keyPrefix,
|
|
69485
|
+
namespace: keyPrefix$1,
|
|
69359
69486
|
representationName: "TextAreaAggregate",
|
|
69360
69487
|
version: VERSION$t
|
|
69361
69488
|
},
|
|
@@ -69430,7 +69557,7 @@ function getTypeCacheKeys$m(cacheKeySink, astNode, state) {
|
|
|
69430
69557
|
const { path, data, luvio } = state;
|
|
69431
69558
|
const rootKey = keyBuilder$p(luvio, path);
|
|
69432
69559
|
cacheKeySink.set(rootKey, {
|
|
69433
|
-
namespace: keyPrefix,
|
|
69560
|
+
namespace: keyPrefix$1,
|
|
69434
69561
|
mergeable: true,
|
|
69435
69562
|
representationName: name$l
|
|
69436
69563
|
});
|
|
@@ -69600,7 +69727,7 @@ function ingest$l(astNode, state) {
|
|
|
69600
69727
|
mergeData: mergeData$k,
|
|
69601
69728
|
storeMetadataParams: {
|
|
69602
69729
|
ttl: TTL$1,
|
|
69603
|
-
namespace: keyPrefix,
|
|
69730
|
+
namespace: keyPrefix$1,
|
|
69604
69731
|
representationName: "TimeAggregate",
|
|
69605
69732
|
version: VERSION$s
|
|
69606
69733
|
},
|
|
@@ -69667,7 +69794,7 @@ function getTypeCacheKeys$l(cacheKeySink, astNode, state) {
|
|
|
69667
69794
|
const { path, data, luvio } = state;
|
|
69668
69795
|
const rootKey = keyBuilder$o(luvio, path);
|
|
69669
69796
|
cacheKeySink.set(rootKey, {
|
|
69670
|
-
namespace: keyPrefix,
|
|
69797
|
+
namespace: keyPrefix$1,
|
|
69671
69798
|
mergeable: true,
|
|
69672
69799
|
representationName: name$k
|
|
69673
69800
|
});
|
|
@@ -69789,7 +69916,7 @@ function ingest$k(astNode, state) {
|
|
|
69789
69916
|
mergeData: mergeData$j,
|
|
69790
69917
|
storeMetadataParams: {
|
|
69791
69918
|
ttl: TTL$1,
|
|
69792
|
-
namespace: keyPrefix,
|
|
69919
|
+
namespace: keyPrefix$1,
|
|
69793
69920
|
representationName: "UrlAggregate",
|
|
69794
69921
|
version: VERSION$r
|
|
69795
69922
|
},
|
|
@@ -69864,7 +69991,7 @@ function getTypeCacheKeys$k(cacheKeySink, astNode, state) {
|
|
|
69864
69991
|
const { path, data, luvio } = state;
|
|
69865
69992
|
const rootKey = keyBuilder$n(luvio, path);
|
|
69866
69993
|
cacheKeySink.set(rootKey, {
|
|
69867
|
-
namespace: keyPrefix,
|
|
69994
|
+
namespace: keyPrefix$1,
|
|
69868
69995
|
mergeable: true,
|
|
69869
69996
|
representationName: name$j
|
|
69870
69997
|
});
|
|
@@ -70157,7 +70284,7 @@ function ingest$j(astNode, state) {
|
|
|
70157
70284
|
mergeData: mergeData$i,
|
|
70158
70285
|
storeMetadataParams: {
|
|
70159
70286
|
ttl: TTL$1,
|
|
70160
|
-
namespace: keyPrefix,
|
|
70287
|
+
namespace: keyPrefix$1,
|
|
70161
70288
|
representationName: "RecordAggregate",
|
|
70162
70289
|
version: VERSION$q
|
|
70163
70290
|
},
|
|
@@ -70283,7 +70410,7 @@ function getTypeCacheKeys$j(cacheKeySink, astNode, state) {
|
|
|
70283
70410
|
const { path, data, luvio } = state;
|
|
70284
70411
|
const rootKey = keyBuilder$m(luvio, path);
|
|
70285
70412
|
cacheKeySink.set(rootKey, {
|
|
70286
|
-
namespace: keyPrefix,
|
|
70413
|
+
namespace: keyPrefix$1,
|
|
70287
70414
|
mergeable: true,
|
|
70288
70415
|
representationName: name$i
|
|
70289
70416
|
});
|
|
@@ -70525,7 +70652,7 @@ function ingest$i(astNode, state) {
|
|
|
70525
70652
|
mergeData: mergeData$h,
|
|
70526
70653
|
storeMetadataParams: {
|
|
70527
70654
|
ttl: TTL$1,
|
|
70528
|
-
namespace: keyPrefix,
|
|
70655
|
+
namespace: keyPrefix$1,
|
|
70529
70656
|
representationName: "RecordResult",
|
|
70530
70657
|
version: VERSION$p
|
|
70531
70658
|
},
|
|
@@ -70587,7 +70714,7 @@ function getTypeCacheKeys$i(cacheKeySink, astNode, state) {
|
|
|
70587
70714
|
const { path, data, luvio } = state;
|
|
70588
70715
|
const rootKey = keyBuilder$l(luvio, path);
|
|
70589
70716
|
cacheKeySink.set(rootKey, {
|
|
70590
|
-
namespace: keyPrefix,
|
|
70717
|
+
namespace: keyPrefix$1,
|
|
70591
70718
|
mergeable: true,
|
|
70592
70719
|
representationName: name$h
|
|
70593
70720
|
});
|
|
@@ -70687,7 +70814,7 @@ function ingest$h(astNode, state) {
|
|
|
70687
70814
|
mergeData: mergeData$g,
|
|
70688
70815
|
storeMetadataParams: {
|
|
70689
70816
|
ttl: TTL$1,
|
|
70690
|
-
namespace: keyPrefix,
|
|
70817
|
+
namespace: keyPrefix$1,
|
|
70691
70818
|
representationName: "RecordAggregateEdge",
|
|
70692
70819
|
version: VERSION$o
|
|
70693
70820
|
},
|
|
@@ -70749,7 +70876,7 @@ function getTypeCacheKeys$h(cacheKeySink, astNode, state) {
|
|
|
70749
70876
|
const { path, data, luvio } = state;
|
|
70750
70877
|
const rootKey = keyBuilder$k(luvio, path);
|
|
70751
70878
|
cacheKeySink.set(rootKey, {
|
|
70752
|
-
namespace: keyPrefix,
|
|
70879
|
+
namespace: keyPrefix$1,
|
|
70753
70880
|
mergeable: true,
|
|
70754
70881
|
representationName: name$g
|
|
70755
70882
|
});
|
|
@@ -70907,7 +71034,7 @@ function ingest$g(astNode, state) {
|
|
|
70907
71034
|
mergeData: mergeData$f,
|
|
70908
71035
|
storeMetadataParams: {
|
|
70909
71036
|
ttl: TTL$1,
|
|
70910
|
-
namespace: keyPrefix,
|
|
71037
|
+
namespace: keyPrefix$1,
|
|
70911
71038
|
representationName: "RecordAggregateConnection",
|
|
70912
71039
|
version: VERSION$n
|
|
70913
71040
|
},
|
|
@@ -70979,7 +71106,7 @@ function getTypeCacheKeys$g(cacheKeySink, astNode, state) {
|
|
|
70979
71106
|
const { path, data, luvio } = state;
|
|
70980
71107
|
const rootKey = keyBuilder$j(luvio, path);
|
|
70981
71108
|
cacheKeySink.set(rootKey, {
|
|
70982
|
-
namespace: keyPrefix,
|
|
71109
|
+
namespace: keyPrefix$1,
|
|
70983
71110
|
mergeable: true,
|
|
70984
71111
|
representationName: name$f
|
|
70985
71112
|
});
|
|
@@ -71138,7 +71265,7 @@ function ingest$f(astNode, state) {
|
|
|
71138
71265
|
mergeData: mergeData$e,
|
|
71139
71266
|
storeMetadataParams: {
|
|
71140
71267
|
ttl: TTL$1,
|
|
71141
|
-
namespace: keyPrefix,
|
|
71268
|
+
namespace: keyPrefix$1,
|
|
71142
71269
|
representationName: "RecordQueryAggregate",
|
|
71143
71270
|
version: VERSION$m
|
|
71144
71271
|
},
|
|
@@ -71200,7 +71327,7 @@ function getTypeCacheKeys$f(cacheKeySink, astNode, state) {
|
|
|
71200
71327
|
const { path, data, luvio } = state;
|
|
71201
71328
|
const rootKey = keyBuilder$i(luvio, path);
|
|
71202
71329
|
cacheKeySink.set(rootKey, {
|
|
71203
|
-
namespace: keyPrefix,
|
|
71330
|
+
namespace: keyPrefix$1,
|
|
71204
71331
|
mergeable: true,
|
|
71205
71332
|
representationName: name$e
|
|
71206
71333
|
});
|
|
@@ -71282,7 +71409,7 @@ function ingest$e(astNode, state) {
|
|
|
71282
71409
|
mergeData: mergeData$d,
|
|
71283
71410
|
storeMetadataParams: {
|
|
71284
71411
|
ttl: TTL$1,
|
|
71285
|
-
namespace: keyPrefix,
|
|
71412
|
+
namespace: keyPrefix$1,
|
|
71286
71413
|
representationName: "ChildRelationship",
|
|
71287
71414
|
version: VERSION$l
|
|
71288
71415
|
},
|
|
@@ -71344,7 +71471,7 @@ function getTypeCacheKeys$e(cacheKeySink, astNode, state) {
|
|
|
71344
71471
|
const { path, data, luvio } = state;
|
|
71345
71472
|
const rootKey = keyBuilder$h(luvio, path);
|
|
71346
71473
|
cacheKeySink.set(rootKey, {
|
|
71347
|
-
namespace: keyPrefix,
|
|
71474
|
+
namespace: keyPrefix$1,
|
|
71348
71475
|
mergeable: true,
|
|
71349
71476
|
representationName: name$d
|
|
71350
71477
|
});
|
|
@@ -71474,7 +71601,7 @@ function ingest$d(astNode, state) {
|
|
|
71474
71601
|
mergeData: mergeData$c,
|
|
71475
71602
|
storeMetadataParams: {
|
|
71476
71603
|
ttl: TTL$1,
|
|
71477
|
-
namespace: keyPrefix,
|
|
71604
|
+
namespace: keyPrefix$1,
|
|
71478
71605
|
representationName: "DependentField",
|
|
71479
71606
|
version: VERSION$k
|
|
71480
71607
|
},
|
|
@@ -71532,7 +71659,7 @@ function getTypeCacheKeys$d(cacheKeySink, astNode, state) {
|
|
|
71532
71659
|
const { path, data, luvio } = state;
|
|
71533
71660
|
const rootKey = keyBuilder$g(luvio, path);
|
|
71534
71661
|
cacheKeySink.set(rootKey, {
|
|
71535
|
-
namespace: keyPrefix,
|
|
71662
|
+
namespace: keyPrefix$1,
|
|
71536
71663
|
mergeable: true,
|
|
71537
71664
|
representationName: name$c
|
|
71538
71665
|
});
|
|
@@ -71613,7 +71740,7 @@ function ingest$c(astNode, state) {
|
|
|
71613
71740
|
mergeData: mergeData$b,
|
|
71614
71741
|
storeMetadataParams: {
|
|
71615
71742
|
ttl: TTL$1,
|
|
71616
|
-
namespace: keyPrefix,
|
|
71743
|
+
namespace: keyPrefix$1,
|
|
71617
71744
|
representationName: "FilteredLookupInfo",
|
|
71618
71745
|
version: VERSION$j
|
|
71619
71746
|
},
|
|
@@ -71676,7 +71803,7 @@ function getTypeCacheKeys$c(cacheKeySink, astNode, state) {
|
|
|
71676
71803
|
const { path, data, luvio } = state;
|
|
71677
71804
|
const rootKey = keyBuilder$f(luvio, path);
|
|
71678
71805
|
cacheKeySink.set(rootKey, {
|
|
71679
|
-
namespace: keyPrefix,
|
|
71806
|
+
namespace: keyPrefix$1,
|
|
71680
71807
|
mergeable: true,
|
|
71681
71808
|
representationName: name$b
|
|
71682
71809
|
});
|
|
@@ -71767,7 +71894,7 @@ function ingest$b(astNode, state) {
|
|
|
71767
71894
|
mergeData: mergeData$a,
|
|
71768
71895
|
storeMetadataParams: {
|
|
71769
71896
|
ttl: TTL$1,
|
|
71770
|
-
namespace: keyPrefix,
|
|
71897
|
+
namespace: keyPrefix$1,
|
|
71771
71898
|
representationName: "ReferenceToInfo",
|
|
71772
71899
|
version: VERSION$i
|
|
71773
71900
|
},
|
|
@@ -71829,7 +71956,7 @@ function getTypeCacheKeys$b(cacheKeySink, astNode, state) {
|
|
|
71829
71956
|
const { path, data, luvio } = state;
|
|
71830
71957
|
const rootKey = keyBuilder$e(luvio, path);
|
|
71831
71958
|
cacheKeySink.set(rootKey, {
|
|
71832
|
-
namespace: keyPrefix,
|
|
71959
|
+
namespace: keyPrefix$1,
|
|
71833
71960
|
mergeable: true,
|
|
71834
71961
|
representationName: name$a
|
|
71835
71962
|
});
|
|
@@ -71941,7 +72068,7 @@ function ingest$a(astNode, state) {
|
|
|
71941
72068
|
mergeData: mergeData$9,
|
|
71942
72069
|
storeMetadataParams: {
|
|
71943
72070
|
ttl: TTL$1,
|
|
71944
|
-
namespace: keyPrefix,
|
|
72071
|
+
namespace: keyPrefix$1,
|
|
71945
72072
|
representationName: "Field",
|
|
71946
72073
|
version: VERSION$h
|
|
71947
72074
|
},
|
|
@@ -72027,7 +72154,7 @@ function getTypeCacheKeys$a(cacheKeySink, astNode, state) {
|
|
|
72027
72154
|
const { path, data, luvio } = state;
|
|
72028
72155
|
const rootKey = keyBuilder$d(luvio, path);
|
|
72029
72156
|
cacheKeySink.set(rootKey, {
|
|
72030
|
-
namespace: keyPrefix,
|
|
72157
|
+
namespace: keyPrefix$1,
|
|
72031
72158
|
mergeable: true,
|
|
72032
72159
|
representationName: name$9
|
|
72033
72160
|
});
|
|
@@ -72333,7 +72460,7 @@ function ingest$9(astNode, state) {
|
|
|
72333
72460
|
mergeData: mergeData$8,
|
|
72334
72461
|
storeMetadataParams: {
|
|
72335
72462
|
ttl: TTL$1,
|
|
72336
|
-
namespace: keyPrefix,
|
|
72463
|
+
namespace: keyPrefix$1,
|
|
72337
72464
|
representationName: "RecordTypeInfo",
|
|
72338
72465
|
version: VERSION$g
|
|
72339
72466
|
},
|
|
@@ -72401,7 +72528,7 @@ function getTypeCacheKeys$9(cacheKeySink, astNode, state) {
|
|
|
72401
72528
|
const { path, data, luvio } = state;
|
|
72402
72529
|
const rootKey = keyBuilder$c(luvio, path);
|
|
72403
72530
|
cacheKeySink.set(rootKey, {
|
|
72404
|
-
namespace: keyPrefix,
|
|
72531
|
+
namespace: keyPrefix$1,
|
|
72405
72532
|
mergeable: true,
|
|
72406
72533
|
representationName: name$8
|
|
72407
72534
|
});
|
|
@@ -72508,7 +72635,7 @@ function ingest$8(astNode, state) {
|
|
|
72508
72635
|
mergeData: mergeData$7,
|
|
72509
72636
|
storeMetadataParams: {
|
|
72510
72637
|
ttl: TTL$1,
|
|
72511
|
-
namespace: keyPrefix,
|
|
72638
|
+
namespace: keyPrefix$1,
|
|
72512
72639
|
representationName: "ThemeInfo",
|
|
72513
72640
|
version: VERSION$f
|
|
72514
72641
|
},
|
|
@@ -72566,7 +72693,7 @@ function getTypeCacheKeys$8(cacheKeySink, astNode, state) {
|
|
|
72566
72693
|
const { path, data, luvio } = state;
|
|
72567
72694
|
const rootKey = keyBuilder$b(luvio, path);
|
|
72568
72695
|
cacheKeySink.set(rootKey, {
|
|
72569
|
-
namespace: keyPrefix,
|
|
72696
|
+
namespace: keyPrefix$1,
|
|
72570
72697
|
mergeable: true,
|
|
72571
72698
|
representationName: name$7
|
|
72572
72699
|
});
|
|
@@ -72648,7 +72775,7 @@ function ingest$7(astNode, state) {
|
|
|
72648
72775
|
mergeData: mergeData$6,
|
|
72649
72776
|
storeMetadataParams: {
|
|
72650
72777
|
ttl: TTL$3,
|
|
72651
|
-
namespace: keyPrefix,
|
|
72778
|
+
namespace: keyPrefix$1,
|
|
72652
72779
|
representationName: "ObjectInfo",
|
|
72653
72780
|
version: VERSION$e
|
|
72654
72781
|
},
|
|
@@ -72736,7 +72863,7 @@ function getTypeCacheKeys$7(cacheKeySink, astNode, state) {
|
|
|
72736
72863
|
const { path, data, luvio } = state;
|
|
72737
72864
|
const rootKey = keyBuilder$a(luvio, path);
|
|
72738
72865
|
cacheKeySink.set(rootKey, {
|
|
72739
|
-
namespace: keyPrefix,
|
|
72866
|
+
namespace: keyPrefix$1,
|
|
72740
72867
|
mergeable: true,
|
|
72741
72868
|
representationName: name$6
|
|
72742
72869
|
});
|
|
@@ -73046,7 +73173,7 @@ function ingest$6(astNode, state) {
|
|
|
73046
73173
|
mergeData: mergeData$5,
|
|
73047
73174
|
storeMetadataParams: {
|
|
73048
73175
|
ttl: TTL$1,
|
|
73049
|
-
namespace: keyPrefix,
|
|
73176
|
+
namespace: keyPrefix$1,
|
|
73050
73177
|
representationName: "ListColumn",
|
|
73051
73178
|
version: VERSION$d
|
|
73052
73179
|
},
|
|
@@ -73109,7 +73236,7 @@ function getTypeCacheKeys$6(cacheKeySink, astNode, state) {
|
|
|
73109
73236
|
const { path, data, luvio } = state;
|
|
73110
73237
|
const rootKey = keyBuilder$9(luvio, path);
|
|
73111
73238
|
cacheKeySink.set(rootKey, {
|
|
73112
|
-
namespace: keyPrefix,
|
|
73239
|
+
namespace: keyPrefix$1,
|
|
73113
73240
|
mergeable: true,
|
|
73114
73241
|
representationName: name$5
|
|
73115
73242
|
});
|
|
@@ -73206,7 +73333,7 @@ function ingest$5(astNode, state) {
|
|
|
73206
73333
|
mergeData: mergeData$4,
|
|
73207
73334
|
storeMetadataParams: {
|
|
73208
73335
|
ttl: TTL$1,
|
|
73209
|
-
namespace: keyPrefix,
|
|
73336
|
+
namespace: keyPrefix$1,
|
|
73210
73337
|
representationName: "ListOrder",
|
|
73211
73338
|
version: VERSION$c
|
|
73212
73339
|
},
|
|
@@ -73269,7 +73396,7 @@ function getTypeCacheKeys$5(cacheKeySink, astNode, state) {
|
|
|
73269
73396
|
const { path, data, luvio } = state;
|
|
73270
73397
|
const rootKey = keyBuilder$8(luvio, path);
|
|
73271
73398
|
cacheKeySink.set(rootKey, {
|
|
73272
|
-
namespace: keyPrefix,
|
|
73399
|
+
namespace: keyPrefix$1,
|
|
73273
73400
|
mergeable: true,
|
|
73274
73401
|
representationName: name$4
|
|
73275
73402
|
});
|
|
@@ -73355,7 +73482,7 @@ function ingest$4(astNode, state) {
|
|
|
73355
73482
|
mergeData: mergeData$3,
|
|
73356
73483
|
storeMetadataParams: {
|
|
73357
73484
|
ttl: TTL$2,
|
|
73358
|
-
namespace: keyPrefix,
|
|
73485
|
+
namespace: keyPrefix$1,
|
|
73359
73486
|
representationName: "RelatedListInfo",
|
|
73360
73487
|
version: VERSION$b
|
|
73361
73488
|
},
|
|
@@ -73421,7 +73548,7 @@ function getTypeCacheKeys$4(cacheKeySink, astNode, state) {
|
|
|
73421
73548
|
const { path, data, luvio } = state;
|
|
73422
73549
|
const rootKey = keyBuilder$7(luvio, path);
|
|
73423
73550
|
cacheKeySink.set(rootKey, {
|
|
73424
|
-
namespace: keyPrefix,
|
|
73551
|
+
namespace: keyPrefix$1,
|
|
73425
73552
|
mergeable: true,
|
|
73426
73553
|
representationName: name$3
|
|
73427
73554
|
});
|
|
@@ -73591,7 +73718,7 @@ function ingest$3(astNode, state) {
|
|
|
73591
73718
|
mergeData: mergeData$2,
|
|
73592
73719
|
storeMetadataParams: {
|
|
73593
73720
|
ttl: TTL$1,
|
|
73594
|
-
namespace: keyPrefix,
|
|
73721
|
+
namespace: keyPrefix$1,
|
|
73595
73722
|
representationName: "UIAPI",
|
|
73596
73723
|
version: VERSION$a
|
|
73597
73724
|
},
|
|
@@ -73665,7 +73792,7 @@ function getTypeCacheKeys$3(cacheKeySink, astNode, state) {
|
|
|
73665
73792
|
const { path, data, luvio } = state;
|
|
73666
73793
|
const rootKey = keyBuilder$6(luvio, path);
|
|
73667
73794
|
cacheKeySink.set(rootKey, {
|
|
73668
|
-
namespace: keyPrefix,
|
|
73795
|
+
namespace: keyPrefix$1,
|
|
73669
73796
|
mergeable: true,
|
|
73670
73797
|
representationName: name$2
|
|
73671
73798
|
});
|
|
@@ -73825,7 +73952,7 @@ function ingest$2(astNode, state) {
|
|
|
73825
73952
|
mergeData: mergeData$1,
|
|
73826
73953
|
storeMetadataParams: {
|
|
73827
73954
|
ttl: TTL$1,
|
|
73828
|
-
namespace: keyPrefix,
|
|
73955
|
+
namespace: keyPrefix$1,
|
|
73829
73956
|
representationName: "RateLimit",
|
|
73830
73957
|
version: VERSION$9
|
|
73831
73958
|
},
|
|
@@ -73893,7 +74020,7 @@ function getTypeCacheKeys$2(cacheKeySink, astNode, state) {
|
|
|
73893
74020
|
const { path, data, luvio } = state;
|
|
73894
74021
|
const rootKey = keyBuilder$5(luvio, path);
|
|
73895
74022
|
cacheKeySink.set(rootKey, {
|
|
73896
|
-
namespace: keyPrefix,
|
|
74023
|
+
namespace: keyPrefix$1,
|
|
73897
74024
|
mergeable: true,
|
|
73898
74025
|
representationName: name$1
|
|
73899
74026
|
});
|
|
@@ -73972,7 +74099,7 @@ const VERSION$8 = '3d3abb3d797454846af45b54bff46916';
|
|
|
73972
74099
|
function keyBuilder$4(luvio, operationNode, variables, fragmentMap) {
|
|
73973
74100
|
return buildQueryTypeStringKey({
|
|
73974
74101
|
luvio,
|
|
73975
|
-
keyPrefix: keyPrefix,
|
|
74102
|
+
keyPrefix: keyPrefix$1,
|
|
73976
74103
|
schemaName: 'uiapi',
|
|
73977
74104
|
queryTypeName: name,
|
|
73978
74105
|
operationNode,
|
|
@@ -73998,7 +74125,7 @@ function ingest$1(astNode, state) {
|
|
|
73998
74125
|
mergeData,
|
|
73999
74126
|
storeMetadataParams: {
|
|
74000
74127
|
ttl: TTL$1,
|
|
74001
|
-
namespace: keyPrefix,
|
|
74128
|
+
namespace: keyPrefix$1,
|
|
74002
74129
|
representationName: "Query",
|
|
74003
74130
|
version: VERSION$8
|
|
74004
74131
|
},
|
|
@@ -74056,7 +74183,7 @@ function getTypeCacheKeys$1(cacheKeySink, astNode, state) {
|
|
|
74056
74183
|
const { path, data, luvio } = state;
|
|
74057
74184
|
const rootKey = keyBuilder$4(luvio, astNode, state.variables, state.fragments);
|
|
74058
74185
|
cacheKeySink.set(rootKey, {
|
|
74059
|
-
namespace: keyPrefix,
|
|
74186
|
+
namespace: keyPrefix$1,
|
|
74060
74187
|
mergeable: true,
|
|
74061
74188
|
representationName: name
|
|
74062
74189
|
});
|
|
@@ -75865,7 +75992,7 @@ function ingestError$1(luvio, config, params, error, snapshotRefresh) {
|
|
|
75865
75992
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
75866
75993
|
const storeMetadataParams = {
|
|
75867
75994
|
ttl: TTL,
|
|
75868
|
-
namespace: keyPrefix,
|
|
75995
|
+
namespace: keyPrefix$1,
|
|
75869
75996
|
representationName: RepresentationType,
|
|
75870
75997
|
version: VERSION$7
|
|
75871
75998
|
};
|
|
@@ -76374,7 +76501,7 @@ function select$7(luvio, resourceParams) {
|
|
|
76374
76501
|
return selectChildResourceParams(luvio, childResources, resourceParams);
|
|
76375
76502
|
}
|
|
76376
76503
|
function keyBuilder$1(luvio, params) {
|
|
76377
|
-
return (keyPrefix +
|
|
76504
|
+
return (keyPrefix$1 +
|
|
76378
76505
|
'::GraphQLBatchRepresentation:(' +
|
|
76379
76506
|
'batchQuery:' +
|
|
76380
76507
|
params.body.batchQuery +
|
|
@@ -76394,7 +76521,7 @@ function getResponseCacheKeys$2(keys, luvio, resourceParams, response) {
|
|
|
76394
76521
|
else if (childStatusCode === 404) {
|
|
76395
76522
|
const childKey = keyBuilder$3(luvio, childResourceParams);
|
|
76396
76523
|
keys.set(childKey, {
|
|
76397
|
-
namespace: keyPrefix,
|
|
76524
|
+
namespace: keyPrefix$1,
|
|
76398
76525
|
representationName: RepresentationType,
|
|
76399
76526
|
mergeable: false,
|
|
76400
76527
|
});
|
|
@@ -76643,8 +76770,8 @@ let graphqlBatch;
|
|
|
76643
76770
|
let graphql_imperative;
|
|
76644
76771
|
let graphqlBatch_imperative;
|
|
76645
76772
|
// Adapter Metadata
|
|
76646
|
-
const graphqlMetadata = { apiFamily: keyPrefix, name: 'graphql', ttl: 900000 };
|
|
76647
|
-
const graphqlBatchMetadata = { apiFamily: keyPrefix, name: 'graphqlBatch' };
|
|
76773
|
+
const graphqlMetadata = { apiFamily: keyPrefix$1, name: 'graphql', ttl: 900000 };
|
|
76774
|
+
const graphqlBatchMetadata = { apiFamily: keyPrefix$1, name: 'graphqlBatch' };
|
|
76648
76775
|
function bindExportsTo(luvio) {
|
|
76649
76776
|
// LDS adapters
|
|
76650
76777
|
const graphql_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'graphql', factory$1), graphqlMetadata);
|
|
@@ -77153,7 +77280,7 @@ register$1({
|
|
|
77153
77280
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
77154
77281
|
instrument: instrument$1,
|
|
77155
77282
|
});
|
|
77156
|
-
// version: 1.
|
|
77283
|
+
// version: 1.245.0-df5596041
|
|
77157
77284
|
|
|
77158
77285
|
// On core the unstable adapters are re-exported with different names,
|
|
77159
77286
|
// we want to match them here.
|
|
@@ -79402,7 +79529,7 @@ withDefaultLuvio((luvio) => {
|
|
|
79402
79529
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
79403
79530
|
graphQLImperative = ldsAdapter;
|
|
79404
79531
|
});
|
|
79405
|
-
// version: 1.
|
|
79532
|
+
// version: 1.245.0-df5596041
|
|
79406
79533
|
|
|
79407
79534
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
79408
79535
|
__proto__: null,
|
|
@@ -80100,7 +80227,7 @@ const callbacks$1 = [];
|
|
|
80100
80227
|
function register(r) {
|
|
80101
80228
|
callbacks$1.forEach((callback) => callback(r));
|
|
80102
80229
|
}
|
|
80103
|
-
// version: 1.
|
|
80230
|
+
// version: 1.245.0-0ea124370
|
|
80104
80231
|
|
|
80105
80232
|
/**
|
|
80106
80233
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -84250,8 +84377,9 @@ function buildAdapterValidationConfig(displayName, paramsMeta) {
|
|
|
84250
84377
|
}
|
|
84251
84378
|
};
|
|
84252
84379
|
}
|
|
84380
|
+
const keyPrefix = 'UiApi';
|
|
84253
84381
|
|
|
84254
|
-
const { assign, create, freeze, keys } = Object;
|
|
84382
|
+
const { assign, create, freeze, isFrozen, keys } = Object;
|
|
84255
84383
|
const { isArray } = Array;
|
|
84256
84384
|
const { concat, filter, includes, push, reduce } = Array.prototype;
|
|
84257
84385
|
|
|
@@ -84348,6 +84476,10 @@ function getFieldApiNamesArray(value) {
|
|
|
84348
84476
|
}
|
|
84349
84477
|
return dedupe(array).sort();
|
|
84350
84478
|
}
|
|
84479
|
+
const RepresentationType$T = 'RecordRepresentation';
|
|
84480
|
+
function keyBuilder$35(luvio, config) {
|
|
84481
|
+
return keyPrefix + '::' + RepresentationType$T + ':' + config.recordId;
|
|
84482
|
+
}
|
|
84351
84483
|
freeze({
|
|
84352
84484
|
name: '',
|
|
84353
84485
|
children: {},
|
|
@@ -84739,11 +84871,250 @@ function removeEventHandler(session, handler) {
|
|
|
84739
84871
|
}
|
|
84740
84872
|
}
|
|
84741
84873
|
|
|
84874
|
+
/**
|
|
84875
|
+
* Copyright (c) 2022, Salesforce, Inc.,
|
|
84876
|
+
* All rights reserved.
|
|
84877
|
+
* For full license text, see the LICENSE.txt file
|
|
84878
|
+
*/
|
|
84879
|
+
|
|
84880
|
+
|
|
84881
|
+
var DraftActionStatus;
|
|
84882
|
+
(function (DraftActionStatus) {
|
|
84883
|
+
DraftActionStatus["Pending"] = "pending";
|
|
84884
|
+
DraftActionStatus["Uploading"] = "uploading";
|
|
84885
|
+
DraftActionStatus["Error"] = "error";
|
|
84886
|
+
DraftActionStatus["Completed"] = "completed";
|
|
84887
|
+
})(DraftActionStatus || (DraftActionStatus = {}));
|
|
84888
|
+
var ProcessActionResult;
|
|
84889
|
+
(function (ProcessActionResult) {
|
|
84890
|
+
// non-2xx network error, requires user intervention
|
|
84891
|
+
ProcessActionResult["ACTION_ERRORED"] = "ERROR";
|
|
84892
|
+
// upload succeeded
|
|
84893
|
+
ProcessActionResult["ACTION_SUCCEEDED"] = "SUCCESS";
|
|
84894
|
+
// queue is empty
|
|
84895
|
+
ProcessActionResult["NO_ACTION_TO_PROCESS"] = "NO_ACTION_TO_PROCESS";
|
|
84896
|
+
// network request is in flight
|
|
84897
|
+
ProcessActionResult["ACTION_ALREADY_PROCESSING"] = "ACTION_ALREADY_PROCESSING";
|
|
84898
|
+
// network call failed (offline)
|
|
84899
|
+
ProcessActionResult["NETWORK_ERROR"] = "NETWORK_ERROR";
|
|
84900
|
+
// queue is blocked on an error that requires user intervention
|
|
84901
|
+
ProcessActionResult["BLOCKED_ON_ERROR"] = "BLOCKED_ON_ERROR";
|
|
84902
|
+
//waiting for user to execute custom action
|
|
84903
|
+
ProcessActionResult["CUSTOM_ACTION_WAITING"] = "CUSTOM_ACTION_WAITING";
|
|
84904
|
+
})(ProcessActionResult || (ProcessActionResult = {}));
|
|
84905
|
+
var DraftQueueState;
|
|
84906
|
+
(function (DraftQueueState) {
|
|
84907
|
+
/** Currently processing an item in the queue or queue is empty and waiting to process the next item. */
|
|
84908
|
+
DraftQueueState["Started"] = "started";
|
|
84909
|
+
/**
|
|
84910
|
+
* The queue is stopped and will not attempt to upload any drafts until startDraftQueue() is called.
|
|
84911
|
+
* This is the initial state when the DraftQueue gets instantiated.
|
|
84912
|
+
*/
|
|
84913
|
+
DraftQueueState["Stopped"] = "stopped";
|
|
84914
|
+
/**
|
|
84915
|
+
* The queue is stopped due to a blocking error from the last upload attempt.
|
|
84916
|
+
* The queue will not run again until startDraftQueue() is called.
|
|
84917
|
+
*/
|
|
84918
|
+
DraftQueueState["Error"] = "error";
|
|
84919
|
+
/**
|
|
84920
|
+
* There was a network error and the queue will attempt to upload again shortly.
|
|
84921
|
+
* To attempt to force an upload now call startDraftQueue().
|
|
84922
|
+
*/
|
|
84923
|
+
DraftQueueState["Waiting"] = "waiting";
|
|
84924
|
+
})(DraftQueueState || (DraftQueueState = {}));
|
|
84925
|
+
var DraftQueueEventType;
|
|
84926
|
+
(function (DraftQueueEventType) {
|
|
84927
|
+
/**
|
|
84928
|
+
* Triggered after an action had been added to the queue
|
|
84929
|
+
*/
|
|
84930
|
+
DraftQueueEventType["ActionAdded"] = "added";
|
|
84931
|
+
/**
|
|
84932
|
+
* Triggered when starting to upload and process an action
|
|
84933
|
+
*/
|
|
84934
|
+
DraftQueueEventType["ActionUploading"] = "uploading";
|
|
84935
|
+
/**
|
|
84936
|
+
* Triggered once an action failed
|
|
84937
|
+
*/
|
|
84938
|
+
DraftQueueEventType["ActionFailed"] = "failed";
|
|
84939
|
+
/**
|
|
84940
|
+
* Triggered after an action has been deleted from the queue
|
|
84941
|
+
*/
|
|
84942
|
+
DraftQueueEventType["ActionDeleted"] = "deleted";
|
|
84943
|
+
/**
|
|
84944
|
+
* Triggered after an action has been completed and after it has been removed from the queue
|
|
84945
|
+
*/
|
|
84946
|
+
DraftQueueEventType["ActionCompleted"] = "completed";
|
|
84947
|
+
/**
|
|
84948
|
+
* Triggered after an action has been updated by the updateAction API
|
|
84949
|
+
*/
|
|
84950
|
+
DraftQueueEventType["ActionUpdated"] = "updated";
|
|
84951
|
+
/**
|
|
84952
|
+
* Triggered after the Draft Queue state changes
|
|
84953
|
+
*/
|
|
84954
|
+
DraftQueueEventType["QueueStateChanged"] = "state";
|
|
84955
|
+
})(DraftQueueEventType || (DraftQueueEventType = {}));
|
|
84956
|
+
var QueueOperationType;
|
|
84957
|
+
(function (QueueOperationType) {
|
|
84958
|
+
QueueOperationType["Add"] = "add";
|
|
84959
|
+
QueueOperationType["Delete"] = "delete";
|
|
84960
|
+
QueueOperationType["Update"] = "update";
|
|
84961
|
+
})(QueueOperationType || (QueueOperationType = {}));
|
|
84962
|
+
/**
|
|
84963
|
+
Use Math.random to generate v4 RFC4122 compliant uuid
|
|
84964
|
+
*/
|
|
84965
|
+
function uuidv4() {
|
|
84966
|
+
const uuid = [];
|
|
84967
|
+
for (let i = 0; i < 32; i++) {
|
|
84968
|
+
const random = (Math.random() * 16) | 0;
|
|
84969
|
+
if (i === 8 || i === 12 || i === 16 || i === 20) {
|
|
84970
|
+
uuid.push('-');
|
|
84971
|
+
}
|
|
84972
|
+
uuid.push((i === 12 ? 4 : i === 16 ? (random & 3) | 8 : random).toString(16));
|
|
84973
|
+
}
|
|
84974
|
+
return uuid.join('');
|
|
84975
|
+
}
|
|
84976
|
+
|
|
84977
|
+
var CustomActionResultType;
|
|
84978
|
+
(function (CustomActionResultType) {
|
|
84979
|
+
CustomActionResultType["SUCCESS"] = "SUCCESS";
|
|
84980
|
+
CustomActionResultType["FAILURE"] = "FAILURE";
|
|
84981
|
+
})(CustomActionResultType || (CustomActionResultType = {}));
|
|
84982
|
+
var CustomActionErrorType;
|
|
84983
|
+
(function (CustomActionErrorType) {
|
|
84984
|
+
CustomActionErrorType["NETWORK_ERROR"] = "NETWORK_ERROR";
|
|
84985
|
+
CustomActionErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
|
|
84986
|
+
})(CustomActionErrorType || (CustomActionErrorType = {}));
|
|
84987
|
+
|
|
84988
|
+
/**
|
|
84989
|
+
* Denotes what kind of operation a DraftQueueItem represents.
|
|
84990
|
+
*/
|
|
84991
|
+
var DraftActionOperationType;
|
|
84992
|
+
(function (DraftActionOperationType) {
|
|
84993
|
+
DraftActionOperationType["Create"] = "create";
|
|
84994
|
+
DraftActionOperationType["Update"] = "update";
|
|
84995
|
+
DraftActionOperationType["Delete"] = "delete";
|
|
84996
|
+
DraftActionOperationType["Custom"] = "custom";
|
|
84997
|
+
})(DraftActionOperationType || (DraftActionOperationType = {}));
|
|
84998
|
+
var DraftQueueOperationType;
|
|
84999
|
+
(function (DraftQueueOperationType) {
|
|
85000
|
+
DraftQueueOperationType["ItemAdded"] = "added";
|
|
85001
|
+
DraftQueueOperationType["ItemUploading"] = "uploading";
|
|
85002
|
+
DraftQueueOperationType["ItemDeleted"] = "deleted";
|
|
85003
|
+
DraftQueueOperationType["ItemCompleted"] = "completed";
|
|
85004
|
+
DraftQueueOperationType["ItemFailed"] = "failed";
|
|
85005
|
+
DraftQueueOperationType["ItemUpdated"] = "updated";
|
|
85006
|
+
DraftQueueOperationType["QueueStarted"] = "started";
|
|
85007
|
+
DraftQueueOperationType["QueueStopped"] = "stopped";
|
|
85008
|
+
})(DraftQueueOperationType || (DraftQueueOperationType = {}));
|
|
85009
|
+
|
|
85010
|
+
var EvictStatus;
|
|
85011
|
+
(function (EvictStatus) {
|
|
85012
|
+
EvictStatus["InProgress"] = "InProgress";
|
|
85013
|
+
EvictStatus["Succeeded"] = "Succeeded";
|
|
85014
|
+
EvictStatus["Error"] = "Error";
|
|
85015
|
+
EvictStatus["Cancelled"] = "Cancelled";
|
|
85016
|
+
})(EvictStatus || (EvictStatus = {}));
|
|
85017
|
+
const MessagingDurableSegmentName = 'MESSAGING';
|
|
85018
|
+
const DEFAULT_MAX_ENTRIES_PER_OPERATION = 500;
|
|
85019
|
+
/**
|
|
85020
|
+
* Keep tracking of ongoing eviction id to a flag to trigger eviction cancellation.
|
|
85021
|
+
* false in the begining, set to false when cancelEviction is called.
|
|
85022
|
+
*/
|
|
85023
|
+
const inProgressEvictions = new Map();
|
|
85024
|
+
/**
|
|
85025
|
+
* Purging records specified by an array of record id from durable store
|
|
85026
|
+
* @param recordIds record id array
|
|
85027
|
+
* @onProgressUpdate call back to report evict progress
|
|
85028
|
+
*
|
|
85029
|
+
* @returns a function to cancel the eviction
|
|
85030
|
+
*
|
|
85031
|
+
* The record will not be purged if the record has draft.
|
|
85032
|
+
*/
|
|
85033
|
+
function evictCacheRecordsByIds(recordIds, onProgressUpdate) {
|
|
85034
|
+
const evictionId = uuidv4();
|
|
85035
|
+
inProgressEvictions.set(evictionId, false);
|
|
85036
|
+
const onEvicted = (progress) => {
|
|
85037
|
+
onProgressUpdate(progress);
|
|
85038
|
+
const { status } = progress;
|
|
85039
|
+
if (status === EvictStatus.Succeeded || status === EvictStatus.Error) {
|
|
85040
|
+
inProgressEvictions.delete(evictionId);
|
|
85041
|
+
}
|
|
85042
|
+
if (status === EvictStatus.InProgress) {
|
|
85043
|
+
if (inProgressEvictions.get(evictionId)) {
|
|
85044
|
+
inProgressEvictions.delete(evictionId);
|
|
85045
|
+
onProgressUpdate({ status: EvictStatus.Cancelled });
|
|
85046
|
+
}
|
|
85047
|
+
else {
|
|
85048
|
+
evictAChunk();
|
|
85049
|
+
}
|
|
85050
|
+
}
|
|
85051
|
+
};
|
|
85052
|
+
const evictAChunk = () => {
|
|
85053
|
+
evictChunksOfRecord(recordIds).then(onEvicted);
|
|
85054
|
+
};
|
|
85055
|
+
evictAChunk();
|
|
85056
|
+
return evictionId;
|
|
85057
|
+
}
|
|
85058
|
+
/**
|
|
85059
|
+
* Cancel the eviction by specified id.
|
|
85060
|
+
* @param evictionId
|
|
85061
|
+
*/
|
|
85062
|
+
function cancelEviction(evictionId) {
|
|
85063
|
+
inProgressEvictions.set(evictionId, true);
|
|
85064
|
+
}
|
|
85065
|
+
/**
|
|
85066
|
+
* pull a chunk of record id, evict status back in a promise.
|
|
85067
|
+
* @param ids the list of record ids.
|
|
85068
|
+
* @returns
|
|
85069
|
+
*/
|
|
85070
|
+
function evictChunksOfRecord(ids) {
|
|
85071
|
+
const chunk = ids.splice(0, DEFAULT_MAX_ENTRIES_PER_OPERATION);
|
|
85072
|
+
if (chunk.length === 0) {
|
|
85073
|
+
return Promise.resolve({ status: EvictStatus.Succeeded });
|
|
85074
|
+
}
|
|
85075
|
+
return new Promise((resolve) => {
|
|
85076
|
+
// evict the chunk
|
|
85077
|
+
const { luvio, nimbusSqliteStore } = getRuntime();
|
|
85078
|
+
const paramTemplate = chunk.map((_) => '?').join(',');
|
|
85079
|
+
const params = chunk.map((recordId) => keyBuilder$35(luvio, { recordId }));
|
|
85080
|
+
try {
|
|
85081
|
+
nimbusSqliteStore
|
|
85082
|
+
.query(`DELETE FROM lds_data
|
|
85083
|
+
WHERE key IN (${paramTemplate}) AND JSON_EXTRACT(data,'$.drafts') IS NULL
|
|
85084
|
+
RETURNING key
|
|
85085
|
+
`, params)
|
|
85086
|
+
.then((result) => {
|
|
85087
|
+
const evictedEntries = result.rows.map((row) => row[0]);
|
|
85088
|
+
const skippedEntries = params.filter((entryKey) => evictedEntries.indexOf(entryKey) === -1);
|
|
85089
|
+
// broadcast entries evicted
|
|
85090
|
+
nimbusSqliteStore.setEntries({ notifyStoreUpdateAvailable: { data: evictedEntries } }, MessagingDurableSegmentName);
|
|
85091
|
+
resolve({
|
|
85092
|
+
status: EvictStatus.InProgress,
|
|
85093
|
+
evictedEntries,
|
|
85094
|
+
skippedEntries,
|
|
85095
|
+
});
|
|
85096
|
+
})
|
|
85097
|
+
.catch((reason) => {
|
|
85098
|
+
resolve({
|
|
85099
|
+
status: EvictStatus.Error,
|
|
85100
|
+
message: JSON.stringify(reason),
|
|
85101
|
+
});
|
|
85102
|
+
});
|
|
85103
|
+
}
|
|
85104
|
+
catch (reason) {
|
|
85105
|
+
resolve({
|
|
85106
|
+
status: EvictStatus.Error,
|
|
85107
|
+
message: JSON.stringify(reason),
|
|
85108
|
+
});
|
|
85109
|
+
}
|
|
85110
|
+
});
|
|
85111
|
+
}
|
|
85112
|
+
|
|
84742
85113
|
// LWR has a "setupLDS" bootstrap service/loader hook, we simulate this in
|
|
84743
85114
|
// standalone bundle by mimicking what "setupLDS" does here and then exporting
|
|
84744
85115
|
// everything from main.ts
|
|
84745
85116
|
const { luvio } = getRuntime();
|
|
84746
85117
|
setDefaultLuvio({ luvio });
|
|
84747
85118
|
|
|
84748
|
-
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
84749
|
-
// version: 1.
|
|
85119
|
+
export { cancelEviction, createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
85120
|
+
// version: 1.245.0-0ea124370
|