@salesforce/lds-worker-api 1.206.0 → 1.208.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 +1 -1
- package/dist/standalone/es/lds-worker-api.js +765 -2148
- package/dist/standalone/umd/lds-worker-api.js +765 -2148
- package/package.json +1 -1
|
@@ -3678,7 +3678,70 @@
|
|
|
3678
3678
|
return this.environment.buildStructuredKey(namespace, representationName, idValues);
|
|
3679
3679
|
}
|
|
3680
3680
|
}
|
|
3681
|
-
|
|
3681
|
+
|
|
3682
|
+
var ScalarTypes$1;
|
|
3683
|
+
(function (ScalarTypes) {
|
|
3684
|
+
ScalarTypes[ScalarTypes["String"] = 0] = "String";
|
|
3685
|
+
ScalarTypes[ScalarTypes["Boolean"] = 1] = "Boolean";
|
|
3686
|
+
ScalarTypes[ScalarTypes["Number"] = 2] = "Number";
|
|
3687
|
+
ScalarTypes[ScalarTypes["Integer"] = 3] = "Integer";
|
|
3688
|
+
})(ScalarTypes$1 || (ScalarTypes$1 = {}));
|
|
3689
|
+
function isCorrectScalarType(value, type) {
|
|
3690
|
+
switch (type) {
|
|
3691
|
+
case ScalarTypes$1.String:
|
|
3692
|
+
return typeof value === 'string';
|
|
3693
|
+
case ScalarTypes$1.Boolean:
|
|
3694
|
+
return typeof value === 'boolean';
|
|
3695
|
+
case ScalarTypes$1.Number:
|
|
3696
|
+
return typeof value === 'number';
|
|
3697
|
+
case ScalarTypes$1.Integer:
|
|
3698
|
+
return typeof value === 'number' && Math.floor(value) === value;
|
|
3699
|
+
default:
|
|
3700
|
+
return false;
|
|
3701
|
+
}
|
|
3702
|
+
}
|
|
3703
|
+
function typeCheckScalars(untrustedConfig, config, scalars) {
|
|
3704
|
+
const paramNames = Object.keys(scalars);
|
|
3705
|
+
for (const paramName of paramNames) {
|
|
3706
|
+
const value = scalars[paramName];
|
|
3707
|
+
const untrustedConfig_field = untrustedConfig[paramName];
|
|
3708
|
+
if (isCorrectScalarType(untrustedConfig_field, value)) {
|
|
3709
|
+
config[paramName] = untrustedConfig_field;
|
|
3710
|
+
}
|
|
3711
|
+
}
|
|
3712
|
+
}
|
|
3713
|
+
function typeCheckArrayOfScalars(untrustedConfig, config, scalars) {
|
|
3714
|
+
const paramNames = Object.keys(scalars);
|
|
3715
|
+
for (const paramName of paramNames) {
|
|
3716
|
+
const value = scalars[paramName];
|
|
3717
|
+
const untrustedConfig_field = untrustedConfig[paramName];
|
|
3718
|
+
if (isArray$9(untrustedConfig_field)) {
|
|
3719
|
+
const untrustedConfig_field_array = [];
|
|
3720
|
+
for (let i = 0, arrayLength = untrustedConfig_field.length; i < arrayLength; i++) {
|
|
3721
|
+
const untrustedConfig_field_item = untrustedConfig_field[i];
|
|
3722
|
+
if (isCorrectScalarType(untrustedConfig_field_item, value)) {
|
|
3723
|
+
untrustedConfig_field_array.push(untrustedConfig_field_item);
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3726
|
+
config[paramName] = untrustedConfig_field_array;
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
}
|
|
3730
|
+
function coerceConfig$E(uncoercedConfig, parametersBag) {
|
|
3731
|
+
const config = {};
|
|
3732
|
+
const paramNames = Object.keys(parametersBag);
|
|
3733
|
+
for (const paramName of paramNames) {
|
|
3734
|
+
const paramValue = parametersBag[paramName];
|
|
3735
|
+
const value = typeof paramValue === 'function'
|
|
3736
|
+
? paramValue(uncoercedConfig[paramName])
|
|
3737
|
+
: uncoercedConfig[paramName];
|
|
3738
|
+
if (value !== undefined) {
|
|
3739
|
+
config[paramName] = value;
|
|
3740
|
+
}
|
|
3741
|
+
}
|
|
3742
|
+
return config;
|
|
3743
|
+
}
|
|
3744
|
+
// engine version: 0.144.2-0928b9a8
|
|
3682
3745
|
|
|
3683
3746
|
/**
|
|
3684
3747
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -3805,7 +3868,7 @@
|
|
|
3805
3868
|
}
|
|
3806
3869
|
callbacks.push(callback);
|
|
3807
3870
|
}
|
|
3808
|
-
// version: 1.
|
|
3871
|
+
// version: 1.208.0-75bd0667c
|
|
3809
3872
|
|
|
3810
3873
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3811
3874
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15238,7 +15301,7 @@
|
|
|
15238
15301
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15239
15302
|
return luvioDocumentNode;
|
|
15240
15303
|
}
|
|
15241
|
-
// version: 1.
|
|
15304
|
+
// version: 1.208.0-75bd0667c
|
|
15242
15305
|
|
|
15243
15306
|
function unwrap(data) {
|
|
15244
15307
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -15425,7 +15488,7 @@
|
|
|
15425
15488
|
*
|
|
15426
15489
|
* @param callback callback to be invoked with new values
|
|
15427
15490
|
*/
|
|
15428
|
-
constructor(adapter, name, luvio, callback) {
|
|
15491
|
+
constructor(adapter, name, luvio, callback, sourceContext) {
|
|
15429
15492
|
// a component can be connected-disconnected-reconnected multiple times during its
|
|
15430
15493
|
// life but we only want to keep subscriptions active while it is connected; the
|
|
15431
15494
|
// connect/disconnect methods below keep this value updated to reflect the current
|
|
@@ -15435,6 +15498,7 @@
|
|
|
15435
15498
|
this.name = name;
|
|
15436
15499
|
this.luvio = luvio;
|
|
15437
15500
|
this.callback = callback;
|
|
15501
|
+
this.sourceContext = sourceContext;
|
|
15438
15502
|
// initialize the wired property with a properly shaped object so cmps can use <template if:true={wiredProperty.data}>
|
|
15439
15503
|
this.emit();
|
|
15440
15504
|
}
|
|
@@ -15444,7 +15508,7 @@
|
|
|
15444
15508
|
*/
|
|
15445
15509
|
connect() {
|
|
15446
15510
|
this.connected = true;
|
|
15447
|
-
this.callAdapter();
|
|
15511
|
+
this.callAdapter(this.generateAdapterRequestContext());
|
|
15448
15512
|
}
|
|
15449
15513
|
/**
|
|
15450
15514
|
* Called when the component associated with the wire adapter is disconnected.
|
|
@@ -15459,20 +15523,31 @@
|
|
|
15459
15523
|
* @param config new config parameters for the wire adapter
|
|
15460
15524
|
* @param _context not used
|
|
15461
15525
|
*/
|
|
15462
|
-
update(config,
|
|
15526
|
+
update(config, context) {
|
|
15463
15527
|
this.unsubscribe();
|
|
15464
15528
|
this.config = sanitize(config);
|
|
15465
|
-
this.callAdapter();
|
|
15529
|
+
this.callAdapter(this.generateAdapterRequestContext(context));
|
|
15466
15530
|
}
|
|
15467
15531
|
// private and protected utility methods
|
|
15532
|
+
/**
|
|
15533
|
+
* Accepts a WireContext and generates corresponding AdapterRequestContext
|
|
15534
|
+
*/
|
|
15535
|
+
generateAdapterRequestContext(_context) {
|
|
15536
|
+
if (!this.sourceContext) {
|
|
15537
|
+
return {};
|
|
15538
|
+
}
|
|
15539
|
+
return {
|
|
15540
|
+
sourceContext: { ...this.sourceContext },
|
|
15541
|
+
};
|
|
15542
|
+
}
|
|
15468
15543
|
/**
|
|
15469
15544
|
* Calls the adapter if config has been set and the component is connected.
|
|
15470
15545
|
*/
|
|
15471
|
-
callAdapter() {
|
|
15546
|
+
callAdapter(context) {
|
|
15472
15547
|
if (!this.connected || this.config === undefined) {
|
|
15473
15548
|
return;
|
|
15474
15549
|
}
|
|
15475
|
-
const snapshotOrPromise = this.adapter(this.config);
|
|
15550
|
+
const snapshotOrPromise = this.adapter(this.config, context);
|
|
15476
15551
|
this.processAdapterResponse(snapshotOrPromise);
|
|
15477
15552
|
}
|
|
15478
15553
|
processAdapterResponse(snapshotOrPromise) {
|
|
@@ -15578,8 +15653,8 @@
|
|
|
15578
15653
|
* @param luvio Luvio
|
|
15579
15654
|
*/
|
|
15580
15655
|
function createWireAdapterConstructor$1(adapter, name, luvio) {
|
|
15581
|
-
const constructor = function (callback) {
|
|
15582
|
-
const delegate = new LWCLuvioWireAdapter(adapter, name, luvio, callback);
|
|
15656
|
+
const constructor = function (callback, sourceContext) {
|
|
15657
|
+
const delegate = new LWCLuvioWireAdapter(adapter, name, luvio, callback, sourceContext);
|
|
15583
15658
|
this.connect = () => delegate.connect();
|
|
15584
15659
|
this.disconnect = () => delegate.disconnect();
|
|
15585
15660
|
this.update = (config, context) => delegate.update(config, context);
|
|
@@ -15611,34 +15686,32 @@
|
|
|
15611
15686
|
*/
|
|
15612
15687
|
update(config, context) {
|
|
15613
15688
|
if (this.connectTimestamp) {
|
|
15614
|
-
const
|
|
15615
|
-
cachePolicy: {
|
|
15616
|
-
type: 'valid-at',
|
|
15617
|
-
timestamp: this.connectTimestamp,
|
|
15618
|
-
},
|
|
15619
|
-
}, context);
|
|
15689
|
+
const adapterRequestContext = this.generateAdapterRequestContext(context);
|
|
15620
15690
|
super.unsubscribe();
|
|
15621
15691
|
this.config = sanitize(config);
|
|
15622
|
-
this.callAdapterWithContext(mergedContext);
|
|
15692
|
+
// this.callAdapterWithContext(mergedContext);
|
|
15693
|
+
super.callAdapter(adapterRequestContext);
|
|
15623
15694
|
}
|
|
15624
15695
|
else {
|
|
15625
15696
|
super.update(config, context);
|
|
15626
15697
|
}
|
|
15627
15698
|
}
|
|
15628
|
-
|
|
15629
|
-
|
|
15630
|
-
|
|
15631
|
-
|
|
15632
|
-
|
|
15633
|
-
|
|
15634
|
-
|
|
15635
|
-
|
|
15636
|
-
|
|
15699
|
+
generateAdapterRequestContext(context) {
|
|
15700
|
+
const baseContext = super.generateAdapterRequestContext(context);
|
|
15701
|
+
// this code-path is only called when the wire adapter is connected
|
|
15702
|
+
// and the connectTimestamp is set
|
|
15703
|
+
return {
|
|
15704
|
+
...baseContext,
|
|
15705
|
+
cachePolicy: {
|
|
15706
|
+
type: 'valid-at',
|
|
15707
|
+
timestamp: this.connectTimestamp,
|
|
15708
|
+
},
|
|
15709
|
+
};
|
|
15637
15710
|
}
|
|
15638
15711
|
}
|
|
15639
15712
|
function createInfiniteScrollingWireAdapterConstructor$1(adapter, name, luvio) {
|
|
15640
|
-
const constructor = function (callback) {
|
|
15641
|
-
const delegate = new LWCInfinteScrollingLuvioWireAdapter(adapter, name, luvio, callback);
|
|
15713
|
+
const constructor = function (callback, sourceContext) {
|
|
15714
|
+
const delegate = new LWCInfinteScrollingLuvioWireAdapter(adapter, name, luvio, callback, sourceContext);
|
|
15642
15715
|
this.connect = () => delegate.connect();
|
|
15643
15716
|
this.disconnect = () => delegate.disconnect();
|
|
15644
15717
|
this.update = (config, context) => delegate.update(config, context);
|
|
@@ -15668,11 +15741,11 @@
|
|
|
15668
15741
|
return payload;
|
|
15669
15742
|
}
|
|
15670
15743
|
class LWCGraphQLLuvioWireAdapter extends LWCLuvioWireAdapter {
|
|
15671
|
-
constructor(adapter, name, luvio, astResolver, callback) {
|
|
15672
|
-
super(adapter, name, luvio, callback);
|
|
15744
|
+
constructor(adapter, name, luvio, astResolver, callback, sourceContext) {
|
|
15745
|
+
super(adapter, name, luvio, callback, sourceContext);
|
|
15673
15746
|
this.astResolver = astResolver;
|
|
15674
15747
|
}
|
|
15675
|
-
update(config,
|
|
15748
|
+
update(config, context) {
|
|
15676
15749
|
this.unsubscribe();
|
|
15677
15750
|
if (config.batchQuery) {
|
|
15678
15751
|
this.config = {
|
|
@@ -15682,7 +15755,7 @@
|
|
|
15682
15755
|
else {
|
|
15683
15756
|
this.config = safeSanitizeGraphQLConfigObject(config);
|
|
15684
15757
|
}
|
|
15685
|
-
this.callAdapter();
|
|
15758
|
+
this.callAdapter(super.generateAdapterRequestContext(context));
|
|
15686
15759
|
}
|
|
15687
15760
|
/**
|
|
15688
15761
|
* Emits new values to the callback.
|
|
@@ -15704,7 +15777,7 @@
|
|
|
15704
15777
|
/**
|
|
15705
15778
|
* Coerce config before calling the adapter, preserve current behavior otherwise
|
|
15706
15779
|
*/
|
|
15707
|
-
callAdapter() {
|
|
15780
|
+
callAdapter(context) {
|
|
15708
15781
|
if (!this.connected || this.config === undefined) {
|
|
15709
15782
|
return;
|
|
15710
15783
|
}
|
|
@@ -15717,13 +15790,13 @@
|
|
|
15717
15790
|
if (batchConfig.batchQuery.some((val) => val === undefined)) {
|
|
15718
15791
|
return;
|
|
15719
15792
|
}
|
|
15720
|
-
const snapshotOrPromise = this.adapter(batchConfig);
|
|
15793
|
+
const snapshotOrPromise = this.adapter(batchConfig, context);
|
|
15721
15794
|
this.processAdapterResponse(snapshotOrPromise);
|
|
15722
15795
|
}
|
|
15723
15796
|
else if ('query' in config) {
|
|
15724
15797
|
const singleConfig = this.resolveQueryAst(config);
|
|
15725
15798
|
if (singleConfig !== undefined) {
|
|
15726
|
-
const snapshotOrPromise = this.adapter(singleConfig);
|
|
15799
|
+
const snapshotOrPromise = this.adapter(singleConfig, context);
|
|
15727
15800
|
this.processAdapterResponse(snapshotOrPromise);
|
|
15728
15801
|
}
|
|
15729
15802
|
}
|
|
@@ -15761,8 +15834,8 @@
|
|
|
15761
15834
|
* @param luvio Luvio
|
|
15762
15835
|
*/
|
|
15763
15836
|
function createGraphQLWireAdapterConstructor$1(adapter, name, luvio, astResolver) {
|
|
15764
|
-
const constructor = function (callback) {
|
|
15765
|
-
const delegate = new LWCGraphQLLuvioWireAdapter(adapter, name, luvio, astResolver, callback);
|
|
15837
|
+
const constructor = function (callback, sourceContext) {
|
|
15838
|
+
const delegate = new LWCGraphQLLuvioWireAdapter(adapter, name, luvio, astResolver, callback, sourceContext);
|
|
15766
15839
|
this.connect = () => delegate.connect();
|
|
15767
15840
|
this.disconnect = () => delegate.disconnect();
|
|
15768
15841
|
this.update = (config, context) => delegate.update(config, context);
|
|
@@ -16151,7 +16224,7 @@
|
|
|
16151
16224
|
const { apiFamily, name } = metadata;
|
|
16152
16225
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16153
16226
|
}
|
|
16154
|
-
// version: 1.
|
|
16227
|
+
// version: 1.208.0-75bd0667c
|
|
16155
16228
|
|
|
16156
16229
|
/**
|
|
16157
16230
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16234,7 +16307,15 @@
|
|
|
16234
16307
|
({
|
|
16235
16308
|
state: FragmentReadResultState.Missing,
|
|
16236
16309
|
});
|
|
16237
|
-
|
|
16310
|
+
|
|
16311
|
+
var ScalarTypes;
|
|
16312
|
+
(function (ScalarTypes) {
|
|
16313
|
+
ScalarTypes[ScalarTypes["String"] = 0] = "String";
|
|
16314
|
+
ScalarTypes[ScalarTypes["Boolean"] = 1] = "Boolean";
|
|
16315
|
+
ScalarTypes[ScalarTypes["Number"] = 2] = "Number";
|
|
16316
|
+
ScalarTypes[ScalarTypes["Integer"] = 3] = "Integer";
|
|
16317
|
+
})(ScalarTypes || (ScalarTypes = {}));
|
|
16318
|
+
// engine version: 0.144.2-0928b9a8
|
|
16238
16319
|
|
|
16239
16320
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16240
16321
|
|
|
@@ -20318,125 +20399,33 @@
|
|
|
20318
20399
|
return resourceParams;
|
|
20319
20400
|
}
|
|
20320
20401
|
function coerceConfig$D(config) {
|
|
20321
|
-
|
|
20322
|
-
|
|
20323
|
-
|
|
20324
|
-
|
|
20325
|
-
|
|
20326
|
-
|
|
20327
|
-
|
|
20328
|
-
|
|
20329
|
-
|
|
20330
|
-
|
|
20331
|
-
|
|
20332
|
-
coercedConfig.fields = fields;
|
|
20333
|
-
}
|
|
20334
|
-
const forms = config.forms;
|
|
20335
|
-
if (forms !== undefined) {
|
|
20336
|
-
coercedConfig.forms = forms;
|
|
20337
|
-
}
|
|
20338
|
-
const layoutTypes = toSortedStringArray(config.layoutTypes);
|
|
20339
|
-
if (layoutTypes !== undefined) {
|
|
20340
|
-
coercedConfig.layoutTypes = layoutTypes;
|
|
20341
|
-
}
|
|
20342
|
-
const modes = toSortedStringArray(config.modes);
|
|
20343
|
-
if (modes !== undefined) {
|
|
20344
|
-
coercedConfig.modes = modes;
|
|
20345
|
-
}
|
|
20346
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
20347
|
-
if (optionalFields !== undefined) {
|
|
20348
|
-
coercedConfig.optionalFields = optionalFields;
|
|
20349
|
-
}
|
|
20350
|
-
const pageSize = config.pageSize;
|
|
20351
|
-
if (pageSize !== undefined) {
|
|
20352
|
-
coercedConfig.pageSize = pageSize;
|
|
20353
|
-
}
|
|
20354
|
-
const updateMru = config.updateMru;
|
|
20355
|
-
if (updateMru !== undefined) {
|
|
20356
|
-
coercedConfig.updateMru = updateMru;
|
|
20357
|
-
}
|
|
20358
|
-
return coercedConfig;
|
|
20402
|
+
return coerceConfig$E(config, {
|
|
20403
|
+
'recordId': getRecordId18,
|
|
20404
|
+
'childRelationships': 1,
|
|
20405
|
+
'fields': getFieldApiNamesArray,
|
|
20406
|
+
'forms': 1,
|
|
20407
|
+
'layoutTypes': toSortedStringArray,
|
|
20408
|
+
'modes': toSortedStringArray,
|
|
20409
|
+
'optionalFields': getFieldApiNamesArray,
|
|
20410
|
+
'pageSize': 1,
|
|
20411
|
+
'updateMru': 1,
|
|
20412
|
+
});
|
|
20359
20413
|
}
|
|
20360
20414
|
function typeCheckConfig$$(untrustedConfig) {
|
|
20361
20415
|
const config = {};
|
|
20362
|
-
|
|
20363
|
-
|
|
20364
|
-
|
|
20365
|
-
|
|
20366
|
-
|
|
20367
|
-
|
|
20368
|
-
|
|
20369
|
-
|
|
20370
|
-
|
|
20371
|
-
|
|
20372
|
-
|
|
20373
|
-
|
|
20374
|
-
|
|
20375
|
-
config.childRelationships = untrustedConfig_childRelationships_array;
|
|
20376
|
-
}
|
|
20377
|
-
const untrustedConfig_fields = untrustedConfig.fields;
|
|
20378
|
-
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
20379
|
-
const untrustedConfig_fields_array = [];
|
|
20380
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
20381
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
20382
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
20383
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
20384
|
-
}
|
|
20385
|
-
}
|
|
20386
|
-
config.fields = untrustedConfig_fields_array;
|
|
20387
|
-
}
|
|
20388
|
-
const untrustedConfig_forms = untrustedConfig.forms;
|
|
20389
|
-
if (ArrayIsArray$1(untrustedConfig_forms)) {
|
|
20390
|
-
const untrustedConfig_forms_array = [];
|
|
20391
|
-
for (let i = 0, arrayLength = untrustedConfig_forms.length; i < arrayLength; i++) {
|
|
20392
|
-
const untrustedConfig_forms_item = untrustedConfig_forms[i];
|
|
20393
|
-
if (typeof untrustedConfig_forms_item === 'string') {
|
|
20394
|
-
untrustedConfig_forms_array.push(untrustedConfig_forms_item);
|
|
20395
|
-
}
|
|
20396
|
-
}
|
|
20397
|
-
config.forms = untrustedConfig_forms_array;
|
|
20398
|
-
}
|
|
20399
|
-
const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
|
|
20400
|
-
if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
|
|
20401
|
-
const untrustedConfig_layoutTypes_array = [];
|
|
20402
|
-
for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
|
|
20403
|
-
const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
|
|
20404
|
-
if (typeof untrustedConfig_layoutTypes_item === 'string') {
|
|
20405
|
-
untrustedConfig_layoutTypes_array.push(untrustedConfig_layoutTypes_item);
|
|
20406
|
-
}
|
|
20407
|
-
}
|
|
20408
|
-
config.layoutTypes = untrustedConfig_layoutTypes_array;
|
|
20409
|
-
}
|
|
20410
|
-
const untrustedConfig_modes = untrustedConfig.modes;
|
|
20411
|
-
if (ArrayIsArray$1(untrustedConfig_modes)) {
|
|
20412
|
-
const untrustedConfig_modes_array = [];
|
|
20413
|
-
for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
|
|
20414
|
-
const untrustedConfig_modes_item = untrustedConfig_modes[i];
|
|
20415
|
-
if (typeof untrustedConfig_modes_item === 'string') {
|
|
20416
|
-
untrustedConfig_modes_array.push(untrustedConfig_modes_item);
|
|
20417
|
-
}
|
|
20418
|
-
}
|
|
20419
|
-
config.modes = untrustedConfig_modes_array;
|
|
20420
|
-
}
|
|
20421
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
20422
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
20423
|
-
const untrustedConfig_optionalFields_array = [];
|
|
20424
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
20425
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
20426
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
20427
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
20428
|
-
}
|
|
20429
|
-
}
|
|
20430
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
20431
|
-
}
|
|
20432
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
20433
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
20434
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
20435
|
-
}
|
|
20436
|
-
const untrustedConfig_updateMru = untrustedConfig.updateMru;
|
|
20437
|
-
if (typeof untrustedConfig_updateMru === 'boolean') {
|
|
20438
|
-
config.updateMru = untrustedConfig_updateMru;
|
|
20439
|
-
}
|
|
20416
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
20417
|
+
recordId: 0 /* String */,
|
|
20418
|
+
pageSize: 3 /* Integer */,
|
|
20419
|
+
updateMru: 1 /* Boolean */,
|
|
20420
|
+
});
|
|
20421
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
20422
|
+
childRelationships: 0 /* String */,
|
|
20423
|
+
fields: 0 /* String */,
|
|
20424
|
+
forms: 0 /* String */,
|
|
20425
|
+
layoutTypes: 0 /* String */,
|
|
20426
|
+
modes: 0 /* String */,
|
|
20427
|
+
optionalFields: 0 /* String */,
|
|
20428
|
+
});
|
|
20440
20429
|
return config;
|
|
20441
20430
|
}
|
|
20442
20431
|
function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
@@ -21689,88 +21678,29 @@
|
|
|
21689
21678
|
return resourceParams;
|
|
21690
21679
|
}
|
|
21691
21680
|
function coerceConfig$C(config) {
|
|
21692
|
-
|
|
21693
|
-
|
|
21694
|
-
|
|
21695
|
-
|
|
21696
|
-
|
|
21697
|
-
|
|
21698
|
-
|
|
21699
|
-
|
|
21700
|
-
}
|
|
21701
|
-
const fields = getFieldApiNamesArray(config.fields);
|
|
21702
|
-
if (fields !== undefined) {
|
|
21703
|
-
coercedConfig.fields = fields;
|
|
21704
|
-
}
|
|
21705
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
21706
|
-
if (optionalFields !== undefined) {
|
|
21707
|
-
coercedConfig.optionalFields = optionalFields;
|
|
21708
|
-
}
|
|
21709
|
-
const pageSize = config.pageSize;
|
|
21710
|
-
if (pageSize !== undefined) {
|
|
21711
|
-
coercedConfig.pageSize = pageSize;
|
|
21712
|
-
}
|
|
21713
|
-
const pageToken = config.pageToken;
|
|
21714
|
-
if (pageToken !== undefined) {
|
|
21715
|
-
coercedConfig.pageToken = pageToken;
|
|
21716
|
-
}
|
|
21717
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
21718
|
-
if (sortBy !== undefined) {
|
|
21719
|
-
coercedConfig.sortBy = sortBy;
|
|
21720
|
-
}
|
|
21721
|
-
return coercedConfig;
|
|
21681
|
+
return coerceConfig$E(config, {
|
|
21682
|
+
'listViewApiName': 1,
|
|
21683
|
+
'objectApiName': getObjectApiName$1,
|
|
21684
|
+
'fields': getFieldApiNamesArray,
|
|
21685
|
+
'optionalFields': getFieldApiNamesArray,
|
|
21686
|
+
'pageSize': 1,
|
|
21687
|
+
'pageToken': 1,
|
|
21688
|
+
'sortBy': getFieldApiNamesArray,
|
|
21689
|
+
});
|
|
21722
21690
|
}
|
|
21723
21691
|
function typeCheckConfig$_(untrustedConfig) {
|
|
21724
21692
|
const config = {};
|
|
21725
|
-
|
|
21726
|
-
|
|
21727
|
-
|
|
21728
|
-
|
|
21729
|
-
|
|
21730
|
-
|
|
21731
|
-
|
|
21732
|
-
|
|
21733
|
-
|
|
21734
|
-
|
|
21735
|
-
|
|
21736
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
21737
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
21738
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
21739
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
21740
|
-
}
|
|
21741
|
-
}
|
|
21742
|
-
config.fields = untrustedConfig_fields_array;
|
|
21743
|
-
}
|
|
21744
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
21745
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
21746
|
-
const untrustedConfig_optionalFields_array = [];
|
|
21747
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
21748
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
21749
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
21750
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
21751
|
-
}
|
|
21752
|
-
}
|
|
21753
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
21754
|
-
}
|
|
21755
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
21756
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
21757
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
21758
|
-
}
|
|
21759
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
21760
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
21761
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
21762
|
-
}
|
|
21763
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
21764
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
21765
|
-
const untrustedConfig_sortBy_array = [];
|
|
21766
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
21767
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
21768
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
21769
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
21770
|
-
}
|
|
21771
|
-
}
|
|
21772
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
21773
|
-
}
|
|
21693
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
21694
|
+
listViewApiName: 0 /* String */,
|
|
21695
|
+
objectApiName: 0 /* String */,
|
|
21696
|
+
pageSize: 3 /* Integer */,
|
|
21697
|
+
pageToken: 0 /* String */,
|
|
21698
|
+
});
|
|
21699
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
21700
|
+
fields: 0 /* String */,
|
|
21701
|
+
optionalFields: 0 /* String */,
|
|
21702
|
+
sortBy: 0 /* String */,
|
|
21703
|
+
});
|
|
21774
21704
|
return config;
|
|
21775
21705
|
}
|
|
21776
21706
|
function validateAdapterConfig$$(untrustedConfig, configPropertyNames) {
|
|
@@ -21825,80 +21755,27 @@
|
|
|
21825
21755
|
return resourceParams;
|
|
21826
21756
|
}
|
|
21827
21757
|
function coerceConfig$B(config) {
|
|
21828
|
-
|
|
21829
|
-
|
|
21830
|
-
|
|
21831
|
-
|
|
21832
|
-
|
|
21833
|
-
|
|
21834
|
-
|
|
21835
|
-
|
|
21836
|
-
}
|
|
21837
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
21838
|
-
if (optionalFields !== undefined) {
|
|
21839
|
-
coercedConfig.optionalFields = optionalFields;
|
|
21840
|
-
}
|
|
21841
|
-
const pageSize = config.pageSize;
|
|
21842
|
-
if (pageSize !== undefined) {
|
|
21843
|
-
coercedConfig.pageSize = pageSize;
|
|
21844
|
-
}
|
|
21845
|
-
const pageToken = config.pageToken;
|
|
21846
|
-
if (pageToken !== undefined) {
|
|
21847
|
-
coercedConfig.pageToken = pageToken;
|
|
21848
|
-
}
|
|
21849
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
21850
|
-
if (sortBy !== undefined) {
|
|
21851
|
-
coercedConfig.sortBy = sortBy;
|
|
21852
|
-
}
|
|
21853
|
-
return coercedConfig;
|
|
21758
|
+
return coerceConfig$E(config, {
|
|
21759
|
+
'listViewId': 1,
|
|
21760
|
+
'fields': getFieldApiNamesArray,
|
|
21761
|
+
'optionalFields': getFieldApiNamesArray,
|
|
21762
|
+
'pageSize': 1,
|
|
21763
|
+
'pageToken': 1,
|
|
21764
|
+
'sortBy': getFieldApiNamesArray,
|
|
21765
|
+
});
|
|
21854
21766
|
}
|
|
21855
21767
|
function typeCheckConfig$Z(untrustedConfig) {
|
|
21856
21768
|
const config = {};
|
|
21857
|
-
|
|
21858
|
-
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
|
|
21862
|
-
|
|
21863
|
-
|
|
21864
|
-
|
|
21865
|
-
|
|
21866
|
-
|
|
21867
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
21868
|
-
}
|
|
21869
|
-
}
|
|
21870
|
-
config.fields = untrustedConfig_fields_array;
|
|
21871
|
-
}
|
|
21872
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
21873
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
21874
|
-
const untrustedConfig_optionalFields_array = [];
|
|
21875
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
21876
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
21877
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
21878
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
21879
|
-
}
|
|
21880
|
-
}
|
|
21881
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
21882
|
-
}
|
|
21883
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
21884
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
21885
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
21886
|
-
}
|
|
21887
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
21888
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
21889
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
21890
|
-
}
|
|
21891
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
21892
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
21893
|
-
const untrustedConfig_sortBy_array = [];
|
|
21894
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
21895
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
21896
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
21897
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
21898
|
-
}
|
|
21899
|
-
}
|
|
21900
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
21901
|
-
}
|
|
21769
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
21770
|
+
listViewId: 0 /* String */,
|
|
21771
|
+
pageSize: 3 /* Integer */,
|
|
21772
|
+
pageToken: 0 /* String */,
|
|
21773
|
+
});
|
|
21774
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
21775
|
+
fields: 0 /* String */,
|
|
21776
|
+
optionalFields: 0 /* String */,
|
|
21777
|
+
sortBy: 0 /* String */,
|
|
21778
|
+
});
|
|
21902
21779
|
return config;
|
|
21903
21780
|
}
|
|
21904
21781
|
function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
@@ -22773,28 +22650,13 @@
|
|
|
22773
22650
|
return resourceParams;
|
|
22774
22651
|
}
|
|
22775
22652
|
function coerceConfig$A(config) {
|
|
22776
|
-
|
|
22777
|
-
|
|
22778
|
-
|
|
22779
|
-
|
|
22780
|
-
|
|
22781
|
-
|
|
22782
|
-
|
|
22783
|
-
coercedConfig.pageSize = pageSize;
|
|
22784
|
-
}
|
|
22785
|
-
const pageToken = config.pageToken;
|
|
22786
|
-
if (pageToken !== undefined) {
|
|
22787
|
-
coercedConfig.pageToken = pageToken;
|
|
22788
|
-
}
|
|
22789
|
-
const q = config.q;
|
|
22790
|
-
if (q !== undefined) {
|
|
22791
|
-
coercedConfig.q = q;
|
|
22792
|
-
}
|
|
22793
|
-
const recentListsOnly = config.recentListsOnly;
|
|
22794
|
-
if (recentListsOnly !== undefined) {
|
|
22795
|
-
coercedConfig.recentListsOnly = recentListsOnly;
|
|
22796
|
-
}
|
|
22797
|
-
return coercedConfig;
|
|
22653
|
+
return coerceConfig$E(config, {
|
|
22654
|
+
'objectApiName': getObjectApiName$1,
|
|
22655
|
+
'pageSize': 1,
|
|
22656
|
+
'pageToken': 1,
|
|
22657
|
+
'q': 1,
|
|
22658
|
+
'recentListsOnly': 1,
|
|
22659
|
+
});
|
|
22798
22660
|
}
|
|
22799
22661
|
function keyBuilder$1L(luvio, config) {
|
|
22800
22662
|
const resourceParams = createResourceParams$R(config);
|
|
@@ -22802,26 +22664,13 @@
|
|
|
22802
22664
|
}
|
|
22803
22665
|
function typeCheckConfig$Y(untrustedConfig) {
|
|
22804
22666
|
const config = {};
|
|
22805
|
-
|
|
22806
|
-
|
|
22807
|
-
|
|
22808
|
-
|
|
22809
|
-
|
|
22810
|
-
|
|
22811
|
-
|
|
22812
|
-
}
|
|
22813
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
22814
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
22815
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
22816
|
-
}
|
|
22817
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
22818
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
22819
|
-
config.q = untrustedConfig_q;
|
|
22820
|
-
}
|
|
22821
|
-
const untrustedConfig_recentListsOnly = untrustedConfig.recentListsOnly;
|
|
22822
|
-
if (typeof untrustedConfig_recentListsOnly === 'boolean') {
|
|
22823
|
-
config.recentListsOnly = untrustedConfig_recentListsOnly;
|
|
22824
|
-
}
|
|
22667
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
22668
|
+
objectApiName: 0 /* String */,
|
|
22669
|
+
pageSize: 3 /* Integer */,
|
|
22670
|
+
pageToken: 0 /* String */,
|
|
22671
|
+
q: 0 /* String */,
|
|
22672
|
+
recentListsOnly: 1 /* Boolean */,
|
|
22673
|
+
});
|
|
22825
22674
|
return config;
|
|
22826
22675
|
}
|
|
22827
22676
|
function validateAdapterConfig$Z(untrustedConfig, configPropertyNames) {
|
|
@@ -23033,80 +22882,27 @@
|
|
|
23033
22882
|
return resourceParams;
|
|
23034
22883
|
}
|
|
23035
22884
|
function coerceConfig$z(config) {
|
|
23036
|
-
|
|
23037
|
-
|
|
23038
|
-
|
|
23039
|
-
|
|
23040
|
-
|
|
23041
|
-
|
|
23042
|
-
|
|
23043
|
-
|
|
23044
|
-
}
|
|
23045
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
23046
|
-
if (optionalFields !== undefined) {
|
|
23047
|
-
coercedConfig.optionalFields = optionalFields;
|
|
23048
|
-
}
|
|
23049
|
-
const pageSize = config.pageSize;
|
|
23050
|
-
if (pageSize !== undefined) {
|
|
23051
|
-
coercedConfig.pageSize = pageSize;
|
|
23052
|
-
}
|
|
23053
|
-
const pageToken = config.pageToken;
|
|
23054
|
-
if (pageToken !== undefined) {
|
|
23055
|
-
coercedConfig.pageToken = pageToken;
|
|
23056
|
-
}
|
|
23057
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
23058
|
-
if (sortBy !== undefined) {
|
|
23059
|
-
coercedConfig.sortBy = sortBy;
|
|
23060
|
-
}
|
|
23061
|
-
return coercedConfig;
|
|
22885
|
+
return coerceConfig$E(config, {
|
|
22886
|
+
'objectApiName': getObjectApiName$1,
|
|
22887
|
+
'fields': getFieldApiNamesArray,
|
|
22888
|
+
'optionalFields': getFieldApiNamesArray,
|
|
22889
|
+
'pageSize': 1,
|
|
22890
|
+
'pageToken': 1,
|
|
22891
|
+
'sortBy': getFieldApiNamesArray,
|
|
22892
|
+
});
|
|
23062
22893
|
}
|
|
23063
22894
|
function typeCheckConfig$X(untrustedConfig) {
|
|
23064
22895
|
const config = {};
|
|
23065
|
-
|
|
23066
|
-
|
|
23067
|
-
|
|
23068
|
-
|
|
23069
|
-
|
|
23070
|
-
|
|
23071
|
-
|
|
23072
|
-
|
|
23073
|
-
|
|
23074
|
-
|
|
23075
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
23076
|
-
}
|
|
23077
|
-
}
|
|
23078
|
-
config.fields = untrustedConfig_fields_array;
|
|
23079
|
-
}
|
|
23080
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
23081
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
23082
|
-
const untrustedConfig_optionalFields_array = [];
|
|
23083
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
23084
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
23085
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
23086
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
23087
|
-
}
|
|
23088
|
-
}
|
|
23089
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
23090
|
-
}
|
|
23091
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
23092
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
23093
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
23094
|
-
}
|
|
23095
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
23096
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
23097
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
23098
|
-
}
|
|
23099
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
23100
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
23101
|
-
const untrustedConfig_sortBy_array = [];
|
|
23102
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
23103
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
23104
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
23105
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
23106
|
-
}
|
|
23107
|
-
}
|
|
23108
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
23109
|
-
}
|
|
22896
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
22897
|
+
objectApiName: 0 /* String */,
|
|
22898
|
+
pageSize: 3 /* Integer */,
|
|
22899
|
+
pageToken: 0 /* String */,
|
|
22900
|
+
});
|
|
22901
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
22902
|
+
fields: 0 /* String */,
|
|
22903
|
+
optionalFields: 0 /* String */,
|
|
22904
|
+
sortBy: 0 /* String */,
|
|
22905
|
+
});
|
|
23110
22906
|
return config;
|
|
23111
22907
|
}
|
|
23112
22908
|
function validateAdapterConfig$Y(untrustedConfig, configPropertyNames) {
|
|
@@ -24099,12 +23895,9 @@
|
|
|
24099
23895
|
return resourceParams;
|
|
24100
23896
|
}
|
|
24101
23897
|
function coerceConfig$y(config) {
|
|
24102
|
-
|
|
24103
|
-
|
|
24104
|
-
|
|
24105
|
-
coercedConfig.objectApiName = objectApiName;
|
|
24106
|
-
}
|
|
24107
|
-
return coercedConfig;
|
|
23898
|
+
return coerceConfig$E(config, {
|
|
23899
|
+
'objectApiName': getObjectApiName$1,
|
|
23900
|
+
});
|
|
24108
23901
|
}
|
|
24109
23902
|
function keyBuilder$1H(luvio, config) {
|
|
24110
23903
|
const resourceParams = createResourceParams$P(config);
|
|
@@ -24112,10 +23905,9 @@
|
|
|
24112
23905
|
}
|
|
24113
23906
|
function typeCheckConfig$W(untrustedConfig) {
|
|
24114
23907
|
const config = {};
|
|
24115
|
-
|
|
24116
|
-
|
|
24117
|
-
|
|
24118
|
-
}
|
|
23908
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
23909
|
+
objectApiName: 0 /* String */,
|
|
23910
|
+
});
|
|
24119
23911
|
return config;
|
|
24120
23912
|
}
|
|
24121
23913
|
function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
|
|
@@ -24619,110 +24411,31 @@
|
|
|
24619
24411
|
}
|
|
24620
24412
|
|
|
24621
24413
|
function coerceConfig$x(config) {
|
|
24622
|
-
|
|
24623
|
-
|
|
24624
|
-
|
|
24625
|
-
|
|
24626
|
-
|
|
24627
|
-
|
|
24628
|
-
|
|
24629
|
-
|
|
24630
|
-
|
|
24631
|
-
|
|
24632
|
-
if (formFactor !== undefined) {
|
|
24633
|
-
coercedConfig.formFactor = formFactor;
|
|
24634
|
-
}
|
|
24635
|
-
const layoutTypes = toSortedStringArray(config.layoutTypes);
|
|
24636
|
-
if (layoutTypes !== undefined) {
|
|
24637
|
-
coercedConfig.layoutTypes = layoutTypes;
|
|
24638
|
-
}
|
|
24639
|
-
const modes = toSortedStringArray(config.modes);
|
|
24640
|
-
if (modes !== undefined) {
|
|
24641
|
-
coercedConfig.modes = modes;
|
|
24642
|
-
}
|
|
24643
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
24644
|
-
if (optionalFields !== undefined) {
|
|
24645
|
-
coercedConfig.optionalFields = optionalFields;
|
|
24646
|
-
}
|
|
24647
|
-
const pageSize = config.pageSize;
|
|
24648
|
-
if (pageSize !== undefined) {
|
|
24649
|
-
coercedConfig.pageSize = pageSize;
|
|
24650
|
-
}
|
|
24651
|
-
const updateMru = config.updateMru;
|
|
24652
|
-
if (updateMru !== undefined) {
|
|
24653
|
-
coercedConfig.updateMru = updateMru;
|
|
24654
|
-
}
|
|
24655
|
-
return coercedConfig;
|
|
24414
|
+
return coerceConfig$E(config, {
|
|
24415
|
+
'recordIds': getRecordId18Array,
|
|
24416
|
+
'childRelationships': 1,
|
|
24417
|
+
'formFactor': 1,
|
|
24418
|
+
'layoutTypes': toSortedStringArray,
|
|
24419
|
+
'modes': toSortedStringArray,
|
|
24420
|
+
'optionalFields': getFieldApiNamesArray,
|
|
24421
|
+
'pageSize': 1,
|
|
24422
|
+
'updateMru': 1,
|
|
24423
|
+
});
|
|
24656
24424
|
}
|
|
24657
24425
|
function typeCheckConfig$V(untrustedConfig) {
|
|
24658
24426
|
const config = {};
|
|
24659
|
-
|
|
24660
|
-
|
|
24661
|
-
|
|
24662
|
-
|
|
24663
|
-
|
|
24664
|
-
|
|
24665
|
-
|
|
24666
|
-
|
|
24667
|
-
|
|
24668
|
-
|
|
24669
|
-
|
|
24670
|
-
|
|
24671
|
-
if (ArrayIsArray$1(untrustedConfig_childRelationships)) {
|
|
24672
|
-
const untrustedConfig_childRelationships_array = [];
|
|
24673
|
-
for (let i = 0, arrayLength = untrustedConfig_childRelationships.length; i < arrayLength; i++) {
|
|
24674
|
-
const untrustedConfig_childRelationships_item = untrustedConfig_childRelationships[i];
|
|
24675
|
-
if (typeof untrustedConfig_childRelationships_item === 'string') {
|
|
24676
|
-
untrustedConfig_childRelationships_array.push(untrustedConfig_childRelationships_item);
|
|
24677
|
-
}
|
|
24678
|
-
}
|
|
24679
|
-
config.childRelationships = untrustedConfig_childRelationships_array;
|
|
24680
|
-
}
|
|
24681
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
24682
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
24683
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
24684
|
-
}
|
|
24685
|
-
const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
|
|
24686
|
-
if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
|
|
24687
|
-
const untrustedConfig_layoutTypes_array = [];
|
|
24688
|
-
for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
|
|
24689
|
-
const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
|
|
24690
|
-
if (typeof untrustedConfig_layoutTypes_item === 'string') {
|
|
24691
|
-
untrustedConfig_layoutTypes_array.push(untrustedConfig_layoutTypes_item);
|
|
24692
|
-
}
|
|
24693
|
-
}
|
|
24694
|
-
config.layoutTypes = untrustedConfig_layoutTypes_array;
|
|
24695
|
-
}
|
|
24696
|
-
const untrustedConfig_modes = untrustedConfig.modes;
|
|
24697
|
-
if (ArrayIsArray$1(untrustedConfig_modes)) {
|
|
24698
|
-
const untrustedConfig_modes_array = [];
|
|
24699
|
-
for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
|
|
24700
|
-
const untrustedConfig_modes_item = untrustedConfig_modes[i];
|
|
24701
|
-
if (typeof untrustedConfig_modes_item === 'string') {
|
|
24702
|
-
untrustedConfig_modes_array.push(untrustedConfig_modes_item);
|
|
24703
|
-
}
|
|
24704
|
-
}
|
|
24705
|
-
config.modes = untrustedConfig_modes_array;
|
|
24706
|
-
}
|
|
24707
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
24708
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
24709
|
-
const untrustedConfig_optionalFields_array = [];
|
|
24710
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
24711
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
24712
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
24713
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
24714
|
-
}
|
|
24715
|
-
}
|
|
24716
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
24717
|
-
}
|
|
24718
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
24719
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
24720
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
24721
|
-
}
|
|
24722
|
-
const untrustedConfig_updateMru = untrustedConfig.updateMru;
|
|
24723
|
-
if (typeof untrustedConfig_updateMru === 'boolean') {
|
|
24724
|
-
config.updateMru = untrustedConfig_updateMru;
|
|
24725
|
-
}
|
|
24427
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
24428
|
+
formFactor: 0 /* String */,
|
|
24429
|
+
pageSize: 3 /* Integer */,
|
|
24430
|
+
updateMru: 1 /* Boolean */,
|
|
24431
|
+
});
|
|
24432
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
24433
|
+
recordIds: 0 /* String */,
|
|
24434
|
+
childRelationships: 0 /* String */,
|
|
24435
|
+
layoutTypes: 0 /* String */,
|
|
24436
|
+
modes: 0 /* String */,
|
|
24437
|
+
optionalFields: 0 /* String */,
|
|
24438
|
+
});
|
|
24726
24439
|
return config;
|
|
24727
24440
|
}
|
|
24728
24441
|
function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
|
|
@@ -26437,28 +26150,13 @@
|
|
|
26437
26150
|
return resourceParams;
|
|
26438
26151
|
}
|
|
26439
26152
|
function coerceConfig$w(config) {
|
|
26440
|
-
|
|
26441
|
-
|
|
26442
|
-
|
|
26443
|
-
|
|
26444
|
-
|
|
26445
|
-
|
|
26446
|
-
|
|
26447
|
-
coercedConfig.apiNames = apiNames;
|
|
26448
|
-
}
|
|
26449
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
26450
|
-
if (formFactor !== undefined) {
|
|
26451
|
-
coercedConfig.formFactor = formFactor;
|
|
26452
|
-
}
|
|
26453
|
-
const retrievalMode = config.retrievalMode;
|
|
26454
|
-
if (retrievalMode !== undefined) {
|
|
26455
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
26456
|
-
}
|
|
26457
|
-
const sections = toSortedStringArray(config.sections);
|
|
26458
|
-
if (sections !== undefined) {
|
|
26459
|
-
coercedConfig.sections = sections;
|
|
26460
|
-
}
|
|
26461
|
-
return coercedConfig;
|
|
26153
|
+
return coerceConfig$E(config, {
|
|
26154
|
+
'actionTypes': 1,
|
|
26155
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
26156
|
+
'formFactor': coerceFormFactor,
|
|
26157
|
+
'retrievalMode': 1,
|
|
26158
|
+
'sections': toSortedStringArray,
|
|
26159
|
+
});
|
|
26462
26160
|
}
|
|
26463
26161
|
function keyBuilder$1z(luvio, config) {
|
|
26464
26162
|
const resourceParams = createResourceParams$O(config);
|
|
@@ -26466,47 +26164,15 @@
|
|
|
26466
26164
|
}
|
|
26467
26165
|
function typeCheckConfig$U(untrustedConfig) {
|
|
26468
26166
|
const config = {};
|
|
26469
|
-
|
|
26470
|
-
|
|
26471
|
-
|
|
26472
|
-
|
|
26473
|
-
|
|
26474
|
-
|
|
26475
|
-
|
|
26476
|
-
|
|
26477
|
-
|
|
26478
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
26479
|
-
}
|
|
26480
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
26481
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
26482
|
-
const untrustedConfig_apiNames_array = [];
|
|
26483
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
26484
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
26485
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
26486
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
26487
|
-
}
|
|
26488
|
-
}
|
|
26489
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
26490
|
-
}
|
|
26491
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
26492
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
26493
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
26494
|
-
}
|
|
26495
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
26496
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
26497
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
26498
|
-
}
|
|
26499
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
26500
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
26501
|
-
const untrustedConfig_sections_array = [];
|
|
26502
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
26503
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
26504
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
26505
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
26506
|
-
}
|
|
26507
|
-
}
|
|
26508
|
-
config.sections = untrustedConfig_sections_array;
|
|
26509
|
-
}
|
|
26167
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26168
|
+
formFactor: 0 /* String */,
|
|
26169
|
+
retrievalMode: 0 /* String */,
|
|
26170
|
+
});
|
|
26171
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
26172
|
+
actionTypes: 0 /* String */,
|
|
26173
|
+
apiNames: 0 /* String */,
|
|
26174
|
+
sections: 0 /* String */,
|
|
26175
|
+
});
|
|
26510
26176
|
return config;
|
|
26511
26177
|
}
|
|
26512
26178
|
function validateAdapterConfig$V(untrustedConfig, configPropertyNames) {
|
|
@@ -26738,10 +26404,9 @@
|
|
|
26738
26404
|
}
|
|
26739
26405
|
function typeCheckConfig$T(untrustedConfig) {
|
|
26740
26406
|
const config = {};
|
|
26741
|
-
|
|
26742
|
-
|
|
26743
|
-
|
|
26744
|
-
}
|
|
26407
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26408
|
+
actionApiName: 0 /* String */,
|
|
26409
|
+
});
|
|
26745
26410
|
return config;
|
|
26746
26411
|
}
|
|
26747
26412
|
function validateAdapterConfig$U(untrustedConfig, configPropertyNames) {
|
|
@@ -26925,24 +26590,12 @@
|
|
|
26925
26590
|
return resourceParams;
|
|
26926
26591
|
}
|
|
26927
26592
|
function coerceConfig$v(config) {
|
|
26928
|
-
|
|
26929
|
-
|
|
26930
|
-
|
|
26931
|
-
|
|
26932
|
-
|
|
26933
|
-
|
|
26934
|
-
if (actionTypes !== undefined) {
|
|
26935
|
-
coercedConfig.actionTypes = actionTypes;
|
|
26936
|
-
}
|
|
26937
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
26938
|
-
if (formFactor !== undefined) {
|
|
26939
|
-
coercedConfig.formFactor = formFactor;
|
|
26940
|
-
}
|
|
26941
|
-
const sections = toSortedStringArray(config.sections);
|
|
26942
|
-
if (sections !== undefined) {
|
|
26943
|
-
coercedConfig.sections = sections;
|
|
26944
|
-
}
|
|
26945
|
-
return coercedConfig;
|
|
26593
|
+
return coerceConfig$E(config, {
|
|
26594
|
+
'objectApiNames': getSortedObjectApiNamesArray,
|
|
26595
|
+
'actionTypes': toSortedStringArray,
|
|
26596
|
+
'formFactor': coerceFormFactor,
|
|
26597
|
+
'sections': toSortedStringArray,
|
|
26598
|
+
});
|
|
26946
26599
|
}
|
|
26947
26600
|
function keyBuilder$1u(luvio, config) {
|
|
26948
26601
|
const resourceParams = createResourceParams$M(config);
|
|
@@ -26950,43 +26603,14 @@
|
|
|
26950
26603
|
}
|
|
26951
26604
|
function typeCheckConfig$S(untrustedConfig) {
|
|
26952
26605
|
const config = {};
|
|
26953
|
-
|
|
26954
|
-
|
|
26955
|
-
|
|
26956
|
-
|
|
26957
|
-
|
|
26958
|
-
|
|
26959
|
-
|
|
26960
|
-
|
|
26961
|
-
}
|
|
26962
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
26963
|
-
}
|
|
26964
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
26965
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
26966
|
-
const untrustedConfig_actionTypes_array = [];
|
|
26967
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
26968
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
26969
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
26970
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
26971
|
-
}
|
|
26972
|
-
}
|
|
26973
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
26974
|
-
}
|
|
26975
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
26976
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
26977
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
26978
|
-
}
|
|
26979
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
26980
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
26981
|
-
const untrustedConfig_sections_array = [];
|
|
26982
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
26983
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
26984
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
26985
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
26986
|
-
}
|
|
26987
|
-
}
|
|
26988
|
-
config.sections = untrustedConfig_sections_array;
|
|
26989
|
-
}
|
|
26606
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26607
|
+
formFactor: 0 /* String */,
|
|
26608
|
+
});
|
|
26609
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
26610
|
+
objectApiNames: 0 /* String */,
|
|
26611
|
+
actionTypes: 0 /* String */,
|
|
26612
|
+
sections: 0 /* String */,
|
|
26613
|
+
});
|
|
26990
26614
|
return config;
|
|
26991
26615
|
}
|
|
26992
26616
|
function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
|
|
@@ -27139,24 +26763,12 @@
|
|
|
27139
26763
|
return resourceParams;
|
|
27140
26764
|
}
|
|
27141
26765
|
function coerceConfig$u(config) {
|
|
27142
|
-
|
|
27143
|
-
|
|
27144
|
-
|
|
27145
|
-
|
|
27146
|
-
|
|
27147
|
-
|
|
27148
|
-
if (actionTypes !== undefined) {
|
|
27149
|
-
coercedConfig.actionTypes = actionTypes;
|
|
27150
|
-
}
|
|
27151
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
27152
|
-
if (formFactor !== undefined) {
|
|
27153
|
-
coercedConfig.formFactor = formFactor;
|
|
27154
|
-
}
|
|
27155
|
-
const sections = toSortedStringArray(config.sections);
|
|
27156
|
-
if (sections !== undefined) {
|
|
27157
|
-
coercedConfig.sections = sections;
|
|
27158
|
-
}
|
|
27159
|
-
return coercedConfig;
|
|
26766
|
+
return coerceConfig$E(config, {
|
|
26767
|
+
'objectApiName': getObjectApiName$1,
|
|
26768
|
+
'actionTypes': 1,
|
|
26769
|
+
'formFactor': coerceFormFactor,
|
|
26770
|
+
'sections': toSortedStringArray,
|
|
26771
|
+
});
|
|
27160
26772
|
}
|
|
27161
26773
|
function keyBuilder$1s(luvio, config) {
|
|
27162
26774
|
const resourceParams = createResourceParams$L(config);
|
|
@@ -27164,36 +26776,14 @@
|
|
|
27164
26776
|
}
|
|
27165
26777
|
function typeCheckConfig$R(untrustedConfig) {
|
|
27166
26778
|
const config = {};
|
|
27167
|
-
|
|
27168
|
-
|
|
27169
|
-
|
|
27170
|
-
}
|
|
27171
|
-
|
|
27172
|
-
|
|
27173
|
-
|
|
27174
|
-
|
|
27175
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
27176
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
27177
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
27178
|
-
}
|
|
27179
|
-
}
|
|
27180
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
27181
|
-
}
|
|
27182
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
27183
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
27184
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
27185
|
-
}
|
|
27186
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
27187
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
27188
|
-
const untrustedConfig_sections_array = [];
|
|
27189
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
27190
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
27191
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
27192
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
27193
|
-
}
|
|
27194
|
-
}
|
|
27195
|
-
config.sections = untrustedConfig_sections_array;
|
|
27196
|
-
}
|
|
26779
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26780
|
+
objectApiName: 0 /* String */,
|
|
26781
|
+
formFactor: 0 /* String */,
|
|
26782
|
+
});
|
|
26783
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
26784
|
+
actionTypes: 0 /* String */,
|
|
26785
|
+
sections: 0 /* String */,
|
|
26786
|
+
});
|
|
27197
26787
|
return config;
|
|
27198
26788
|
}
|
|
27199
26789
|
function validateAdapterConfig$S(untrustedConfig, configPropertyNames) {
|
|
@@ -27393,16 +26983,10 @@
|
|
|
27393
26983
|
return resourceParams;
|
|
27394
26984
|
}
|
|
27395
26985
|
function coerceConfig$t(config) {
|
|
27396
|
-
|
|
27397
|
-
|
|
27398
|
-
|
|
27399
|
-
|
|
27400
|
-
}
|
|
27401
|
-
const type = config.type;
|
|
27402
|
-
if (type !== undefined) {
|
|
27403
|
-
coercedConfig.type = type;
|
|
27404
|
-
}
|
|
27405
|
-
return coercedConfig;
|
|
26986
|
+
return coerceConfig$E(config, {
|
|
26987
|
+
'objectApiName': getObjectApiName$1,
|
|
26988
|
+
'type': 1,
|
|
26989
|
+
});
|
|
27406
26990
|
}
|
|
27407
26991
|
function keyBuilder$1q(luvio, config) {
|
|
27408
26992
|
const resourceParams = createResourceParams$K(config);
|
|
@@ -27410,14 +26994,10 @@
|
|
|
27410
26994
|
}
|
|
27411
26995
|
function typeCheckConfig$Q(untrustedConfig) {
|
|
27412
26996
|
const config = {};
|
|
27413
|
-
|
|
27414
|
-
|
|
27415
|
-
|
|
27416
|
-
}
|
|
27417
|
-
const untrustedConfig_type = untrustedConfig.type;
|
|
27418
|
-
if (typeof untrustedConfig_type === 'string') {
|
|
27419
|
-
config.type = untrustedConfig_type;
|
|
27420
|
-
}
|
|
26997
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26998
|
+
objectApiName: 0 /* String */,
|
|
26999
|
+
type: 0 /* String */,
|
|
27000
|
+
});
|
|
27421
27001
|
return config;
|
|
27422
27002
|
}
|
|
27423
27003
|
function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
@@ -27781,20 +27361,11 @@
|
|
|
27781
27361
|
return resourceParams;
|
|
27782
27362
|
}
|
|
27783
27363
|
function coerceConfig$s(config) {
|
|
27784
|
-
|
|
27785
|
-
|
|
27786
|
-
|
|
27787
|
-
|
|
27788
|
-
}
|
|
27789
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
27790
|
-
if (optionalFields !== undefined) {
|
|
27791
|
-
coercedConfig.optionalFields = optionalFields;
|
|
27792
|
-
}
|
|
27793
|
-
const parentRecordId = config.parentRecordId;
|
|
27794
|
-
if (parentRecordId !== undefined) {
|
|
27795
|
-
coercedConfig.parentRecordId = parentRecordId;
|
|
27796
|
-
}
|
|
27797
|
-
return coercedConfig;
|
|
27364
|
+
return coerceConfig$E(config, {
|
|
27365
|
+
'actionApiName': getObjectApiName$1,
|
|
27366
|
+
'optionalFields': getFieldApiNamesArray,
|
|
27367
|
+
'parentRecordId': 1,
|
|
27368
|
+
});
|
|
27798
27369
|
}
|
|
27799
27370
|
function keyBuilder$1n(luvio, config) {
|
|
27800
27371
|
const resourceParams = createResourceParams$J(config);
|
|
@@ -27802,25 +27373,13 @@
|
|
|
27802
27373
|
}
|
|
27803
27374
|
function typeCheckConfig$P(untrustedConfig) {
|
|
27804
27375
|
const config = {};
|
|
27805
|
-
|
|
27806
|
-
|
|
27807
|
-
|
|
27808
|
-
}
|
|
27809
|
-
|
|
27810
|
-
|
|
27811
|
-
|
|
27812
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
27813
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
27814
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
27815
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
27816
|
-
}
|
|
27817
|
-
}
|
|
27818
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
27819
|
-
}
|
|
27820
|
-
const untrustedConfig_parentRecordId = untrustedConfig.parentRecordId;
|
|
27821
|
-
if (typeof untrustedConfig_parentRecordId === 'string') {
|
|
27822
|
-
config.parentRecordId = untrustedConfig_parentRecordId;
|
|
27823
|
-
}
|
|
27376
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
27377
|
+
actionApiName: 0 /* String */,
|
|
27378
|
+
parentRecordId: 0 /* String */,
|
|
27379
|
+
});
|
|
27380
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
27381
|
+
optionalFields: 0 /* String */,
|
|
27382
|
+
});
|
|
27824
27383
|
return config;
|
|
27825
27384
|
}
|
|
27826
27385
|
function validateAdapterConfig$Q(untrustedConfig, configPropertyNames) {
|
|
@@ -27959,32 +27518,14 @@
|
|
|
27959
27518
|
return resourceParams;
|
|
27960
27519
|
}
|
|
27961
27520
|
function coerceConfig$r(config) {
|
|
27962
|
-
|
|
27963
|
-
|
|
27964
|
-
|
|
27965
|
-
|
|
27966
|
-
|
|
27967
|
-
|
|
27968
|
-
|
|
27969
|
-
|
|
27970
|
-
}
|
|
27971
|
-
const apiNames = toSortedStringArrayAllowEmpty(config.apiNames);
|
|
27972
|
-
if (apiNames !== undefined) {
|
|
27973
|
-
coercedConfig.apiNames = apiNames;
|
|
27974
|
-
}
|
|
27975
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
27976
|
-
if (formFactor !== undefined) {
|
|
27977
|
-
coercedConfig.formFactor = formFactor;
|
|
27978
|
-
}
|
|
27979
|
-
const retrievalMode = config.retrievalMode;
|
|
27980
|
-
if (retrievalMode !== undefined) {
|
|
27981
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
27982
|
-
}
|
|
27983
|
-
const sections = toSortedStringArray(config.sections);
|
|
27984
|
-
if (sections !== undefined) {
|
|
27985
|
-
coercedConfig.sections = sections;
|
|
27986
|
-
}
|
|
27987
|
-
return coercedConfig;
|
|
27521
|
+
return coerceConfig$E(config, {
|
|
27522
|
+
'recordIds': getRecordId18Array,
|
|
27523
|
+
'actionTypes': 1,
|
|
27524
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
27525
|
+
'formFactor': coerceFormFactor,
|
|
27526
|
+
'retrievalMode': 1,
|
|
27527
|
+
'sections': toSortedStringArray,
|
|
27528
|
+
});
|
|
27988
27529
|
}
|
|
27989
27530
|
function keyBuilder$1l(luvio, config) {
|
|
27990
27531
|
const resourceParams = createResourceParams$I(config);
|
|
@@ -27992,58 +27533,16 @@
|
|
|
27992
27533
|
}
|
|
27993
27534
|
function typeCheckConfig$O(untrustedConfig) {
|
|
27994
27535
|
const config = {};
|
|
27995
|
-
|
|
27996
|
-
|
|
27997
|
-
|
|
27998
|
-
|
|
27999
|
-
|
|
28000
|
-
|
|
28001
|
-
|
|
28002
|
-
|
|
28003
|
-
|
|
28004
|
-
|
|
28005
|
-
}
|
|
28006
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
28007
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
28008
|
-
const untrustedConfig_actionTypes_array = [];
|
|
28009
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
28010
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
28011
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
28012
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
28013
|
-
}
|
|
28014
|
-
}
|
|
28015
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
28016
|
-
}
|
|
28017
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
28018
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
28019
|
-
const untrustedConfig_apiNames_array = [];
|
|
28020
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
28021
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
28022
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
28023
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
28024
|
-
}
|
|
28025
|
-
}
|
|
28026
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
28027
|
-
}
|
|
28028
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
28029
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
28030
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
28031
|
-
}
|
|
28032
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
28033
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
28034
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
28035
|
-
}
|
|
28036
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
28037
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
28038
|
-
const untrustedConfig_sections_array = [];
|
|
28039
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
28040
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
28041
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
28042
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
28043
|
-
}
|
|
28044
|
-
}
|
|
28045
|
-
config.sections = untrustedConfig_sections_array;
|
|
28046
|
-
}
|
|
27536
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
27537
|
+
formFactor: 0 /* String */,
|
|
27538
|
+
retrievalMode: 0 /* String */,
|
|
27539
|
+
});
|
|
27540
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
27541
|
+
recordIds: 0 /* String */,
|
|
27542
|
+
actionTypes: 0 /* String */,
|
|
27543
|
+
apiNames: 0 /* String */,
|
|
27544
|
+
sections: 0 /* String */,
|
|
27545
|
+
});
|
|
28047
27546
|
return config;
|
|
28048
27547
|
}
|
|
28049
27548
|
function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
|
|
@@ -28200,24 +27699,12 @@
|
|
|
28200
27699
|
return resourceParams;
|
|
28201
27700
|
}
|
|
28202
27701
|
function coerceConfig$q(config) {
|
|
28203
|
-
|
|
28204
|
-
|
|
28205
|
-
|
|
28206
|
-
|
|
28207
|
-
|
|
28208
|
-
|
|
28209
|
-
if (actionTypes !== undefined) {
|
|
28210
|
-
coercedConfig.actionTypes = actionTypes;
|
|
28211
|
-
}
|
|
28212
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
28213
|
-
if (formFactor !== undefined) {
|
|
28214
|
-
coercedConfig.formFactor = formFactor;
|
|
28215
|
-
}
|
|
28216
|
-
const sections = toSortedStringArray(config.sections);
|
|
28217
|
-
if (sections !== undefined) {
|
|
28218
|
-
coercedConfig.sections = sections;
|
|
28219
|
-
}
|
|
28220
|
-
return coercedConfig;
|
|
27702
|
+
return coerceConfig$E(config, {
|
|
27703
|
+
'recordIds': getRecordId18Array,
|
|
27704
|
+
'actionTypes': 1,
|
|
27705
|
+
'formFactor': coerceFormFactor,
|
|
27706
|
+
'sections': toSortedStringArray,
|
|
27707
|
+
});
|
|
28221
27708
|
}
|
|
28222
27709
|
function keyBuilder$1j(luvio, config) {
|
|
28223
27710
|
const resourceParams = createResourceParams$H(config);
|
|
@@ -28225,43 +27712,14 @@
|
|
|
28225
27712
|
}
|
|
28226
27713
|
function typeCheckConfig$N(untrustedConfig) {
|
|
28227
27714
|
const config = {};
|
|
28228
|
-
|
|
28229
|
-
|
|
28230
|
-
|
|
28231
|
-
|
|
28232
|
-
|
|
28233
|
-
|
|
28234
|
-
|
|
28235
|
-
|
|
28236
|
-
}
|
|
28237
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
28238
|
-
}
|
|
28239
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
28240
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
28241
|
-
const untrustedConfig_actionTypes_array = [];
|
|
28242
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
28243
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
28244
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
28245
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
28246
|
-
}
|
|
28247
|
-
}
|
|
28248
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
28249
|
-
}
|
|
28250
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
28251
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
28252
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
28253
|
-
}
|
|
28254
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
28255
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
28256
|
-
const untrustedConfig_sections_array = [];
|
|
28257
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
28258
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
28259
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
28260
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
28261
|
-
}
|
|
28262
|
-
}
|
|
28263
|
-
config.sections = untrustedConfig_sections_array;
|
|
28264
|
-
}
|
|
27715
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
27716
|
+
formFactor: 0 /* String */,
|
|
27717
|
+
});
|
|
27718
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
27719
|
+
recordIds: 0 /* String */,
|
|
27720
|
+
actionTypes: 0 /* String */,
|
|
27721
|
+
sections: 0 /* String */,
|
|
27722
|
+
});
|
|
28265
27723
|
return config;
|
|
28266
27724
|
}
|
|
28267
27725
|
function validateAdapterConfig$O(untrustedConfig, configPropertyNames) {
|
|
@@ -28699,16 +28157,10 @@
|
|
|
28699
28157
|
return resourceParams;
|
|
28700
28158
|
}
|
|
28701
28159
|
function coerceConfig$p(config) {
|
|
28702
|
-
|
|
28703
|
-
|
|
28704
|
-
|
|
28705
|
-
|
|
28706
|
-
}
|
|
28707
|
-
const relatedListsActionParameters = config.relatedListsActionParameters;
|
|
28708
|
-
if (relatedListsActionParameters !== undefined) {
|
|
28709
|
-
coercedConfig.relatedListsActionParameters = relatedListsActionParameters;
|
|
28710
|
-
}
|
|
28711
|
-
return coercedConfig;
|
|
28160
|
+
return coerceConfig$E(config, {
|
|
28161
|
+
'recordIds': getRecordId18Array,
|
|
28162
|
+
'relatedListsActionParameters': 1,
|
|
28163
|
+
});
|
|
28712
28164
|
}
|
|
28713
28165
|
function keyBuilder$1g(luvio, config) {
|
|
28714
28166
|
const resourceParams = createResourceParams$G(config);
|
|
@@ -28716,17 +28168,9 @@
|
|
|
28716
28168
|
}
|
|
28717
28169
|
function typeCheckConfig$M(untrustedConfig) {
|
|
28718
28170
|
const config = {};
|
|
28719
|
-
|
|
28720
|
-
|
|
28721
|
-
|
|
28722
|
-
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
28723
|
-
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
28724
|
-
if (typeof untrustedConfig_recordIds_item === 'string') {
|
|
28725
|
-
untrustedConfig_recordIds_array.push(untrustedConfig_recordIds_item);
|
|
28726
|
-
}
|
|
28727
|
-
}
|
|
28728
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
28729
|
-
}
|
|
28171
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
28172
|
+
recordIds: 0 /* String */,
|
|
28173
|
+
});
|
|
28730
28174
|
const untrustedConfig_relatedListsActionParameters = untrustedConfig.relatedListsActionParameters;
|
|
28731
28175
|
if (ArrayIsArray$1(untrustedConfig_relatedListsActionParameters)) {
|
|
28732
28176
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
@@ -28854,36 +28298,15 @@
|
|
|
28854
28298
|
return resourceParams;
|
|
28855
28299
|
}
|
|
28856
28300
|
function coerceConfig$o(config) {
|
|
28857
|
-
|
|
28858
|
-
|
|
28859
|
-
|
|
28860
|
-
|
|
28861
|
-
|
|
28862
|
-
|
|
28863
|
-
|
|
28864
|
-
|
|
28865
|
-
}
|
|
28866
|
-
const actionTypes = config.actionTypes;
|
|
28867
|
-
if (actionTypes !== undefined) {
|
|
28868
|
-
coercedConfig.actionTypes = actionTypes;
|
|
28869
|
-
}
|
|
28870
|
-
const apiNames = toSortedStringArrayAllowEmpty(config.apiNames);
|
|
28871
|
-
if (apiNames !== undefined) {
|
|
28872
|
-
coercedConfig.apiNames = apiNames;
|
|
28873
|
-
}
|
|
28874
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
28875
|
-
if (formFactor !== undefined) {
|
|
28876
|
-
coercedConfig.formFactor = formFactor;
|
|
28877
|
-
}
|
|
28878
|
-
const retrievalMode = config.retrievalMode;
|
|
28879
|
-
if (retrievalMode !== undefined) {
|
|
28880
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
28881
|
-
}
|
|
28882
|
-
const sections = toSortedStringArray(config.sections);
|
|
28883
|
-
if (sections !== undefined) {
|
|
28884
|
-
coercedConfig.sections = sections;
|
|
28885
|
-
}
|
|
28886
|
-
return coercedConfig;
|
|
28301
|
+
return coerceConfig$E(config, {
|
|
28302
|
+
'recordIds': getRecordId18Array,
|
|
28303
|
+
'relatedListId': 1,
|
|
28304
|
+
'actionTypes': 1,
|
|
28305
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
28306
|
+
'formFactor': coerceFormFactor,
|
|
28307
|
+
'retrievalMode': 1,
|
|
28308
|
+
'sections': toSortedStringArray,
|
|
28309
|
+
});
|
|
28887
28310
|
}
|
|
28888
28311
|
function keyBuilder$1f(luvio, config) {
|
|
28889
28312
|
const resourceParams = createResourceParams$F(config);
|
|
@@ -28891,62 +28314,17 @@
|
|
|
28891
28314
|
}
|
|
28892
28315
|
function typeCheckConfig$L(untrustedConfig) {
|
|
28893
28316
|
const config = {};
|
|
28894
|
-
|
|
28895
|
-
|
|
28896
|
-
|
|
28897
|
-
|
|
28898
|
-
|
|
28899
|
-
|
|
28900
|
-
|
|
28901
|
-
|
|
28902
|
-
|
|
28903
|
-
|
|
28904
|
-
}
|
|
28905
|
-
const untrustedConfig_relatedListId = untrustedConfig.relatedListId;
|
|
28906
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
28907
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
28908
|
-
}
|
|
28909
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
28910
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
28911
|
-
const untrustedConfig_actionTypes_array = [];
|
|
28912
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
28913
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
28914
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
28915
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
28916
|
-
}
|
|
28917
|
-
}
|
|
28918
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
28919
|
-
}
|
|
28920
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
28921
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
28922
|
-
const untrustedConfig_apiNames_array = [];
|
|
28923
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
28924
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
28925
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
28926
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
28927
|
-
}
|
|
28928
|
-
}
|
|
28929
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
28930
|
-
}
|
|
28931
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
28932
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
28933
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
28934
|
-
}
|
|
28935
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
28936
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
28937
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
28938
|
-
}
|
|
28939
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
28940
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
28941
|
-
const untrustedConfig_sections_array = [];
|
|
28942
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
28943
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
28944
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
28945
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
28946
|
-
}
|
|
28947
|
-
}
|
|
28948
|
-
config.sections = untrustedConfig_sections_array;
|
|
28949
|
-
}
|
|
28317
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
28318
|
+
relatedListId: 0 /* String */,
|
|
28319
|
+
formFactor: 0 /* String */,
|
|
28320
|
+
retrievalMode: 0 /* String */,
|
|
28321
|
+
});
|
|
28322
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
28323
|
+
recordIds: 0 /* String */,
|
|
28324
|
+
actionTypes: 0 /* String */,
|
|
28325
|
+
apiNames: 0 /* String */,
|
|
28326
|
+
sections: 0 /* String */,
|
|
28327
|
+
});
|
|
28950
28328
|
return config;
|
|
28951
28329
|
}
|
|
28952
28330
|
function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
@@ -29099,28 +28477,13 @@
|
|
|
29099
28477
|
return resourceParams;
|
|
29100
28478
|
}
|
|
29101
28479
|
function coerceConfig$n(config) {
|
|
29102
|
-
|
|
29103
|
-
|
|
29104
|
-
|
|
29105
|
-
|
|
29106
|
-
|
|
29107
|
-
|
|
29108
|
-
|
|
29109
|
-
coercedConfig.relatedListRecordIds = relatedListRecordIds;
|
|
29110
|
-
}
|
|
29111
|
-
const actionTypes = toSortedStringArray(config.actionTypes);
|
|
29112
|
-
if (actionTypes !== undefined) {
|
|
29113
|
-
coercedConfig.actionTypes = actionTypes;
|
|
29114
|
-
}
|
|
29115
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
29116
|
-
if (formFactor !== undefined) {
|
|
29117
|
-
coercedConfig.formFactor = formFactor;
|
|
29118
|
-
}
|
|
29119
|
-
const sections = toSortedStringArray(config.sections);
|
|
29120
|
-
if (sections !== undefined) {
|
|
29121
|
-
coercedConfig.sections = sections;
|
|
29122
|
-
}
|
|
29123
|
-
return coercedConfig;
|
|
28480
|
+
return coerceConfig$E(config, {
|
|
28481
|
+
'recordIds': getRecordId18Array,
|
|
28482
|
+
'relatedListRecordIds': getRecordId18Array,
|
|
28483
|
+
'actionTypes': toSortedStringArray,
|
|
28484
|
+
'formFactor': coerceFormFactor,
|
|
28485
|
+
'sections': toSortedStringArray,
|
|
28486
|
+
});
|
|
29124
28487
|
}
|
|
29125
28488
|
function keyBuilder$1d(luvio, config) {
|
|
29126
28489
|
const resourceParams = createResourceParams$E(config);
|
|
@@ -29128,54 +28491,15 @@
|
|
|
29128
28491
|
}
|
|
29129
28492
|
function typeCheckConfig$K(untrustedConfig) {
|
|
29130
28493
|
const config = {};
|
|
29131
|
-
|
|
29132
|
-
|
|
29133
|
-
|
|
29134
|
-
|
|
29135
|
-
|
|
29136
|
-
|
|
29137
|
-
|
|
29138
|
-
|
|
29139
|
-
|
|
29140
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
29141
|
-
}
|
|
29142
|
-
const untrustedConfig_relatedListRecordIds = untrustedConfig.relatedListRecordIds;
|
|
29143
|
-
if (ArrayIsArray$1(untrustedConfig_relatedListRecordIds)) {
|
|
29144
|
-
const untrustedConfig_relatedListRecordIds_array = [];
|
|
29145
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListRecordIds.length; i < arrayLength; i++) {
|
|
29146
|
-
const untrustedConfig_relatedListRecordIds_item = untrustedConfig_relatedListRecordIds[i];
|
|
29147
|
-
if (typeof untrustedConfig_relatedListRecordIds_item === 'string') {
|
|
29148
|
-
untrustedConfig_relatedListRecordIds_array.push(untrustedConfig_relatedListRecordIds_item);
|
|
29149
|
-
}
|
|
29150
|
-
}
|
|
29151
|
-
config.relatedListRecordIds = untrustedConfig_relatedListRecordIds_array;
|
|
29152
|
-
}
|
|
29153
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
29154
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
29155
|
-
const untrustedConfig_actionTypes_array = [];
|
|
29156
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
29157
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
29158
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
29159
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
29160
|
-
}
|
|
29161
|
-
}
|
|
29162
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
29163
|
-
}
|
|
29164
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
29165
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
29166
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
29167
|
-
}
|
|
29168
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
29169
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
29170
|
-
const untrustedConfig_sections_array = [];
|
|
29171
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
29172
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
29173
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
29174
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
29175
|
-
}
|
|
29176
|
-
}
|
|
29177
|
-
config.sections = untrustedConfig_sections_array;
|
|
29178
|
-
}
|
|
28494
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
28495
|
+
formFactor: 0 /* String */,
|
|
28496
|
+
});
|
|
28497
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
28498
|
+
recordIds: 0 /* String */,
|
|
28499
|
+
relatedListRecordIds: 0 /* String */,
|
|
28500
|
+
actionTypes: 0 /* String */,
|
|
28501
|
+
sections: 0 /* String */,
|
|
28502
|
+
});
|
|
29179
28503
|
return config;
|
|
29180
28504
|
}
|
|
29181
28505
|
function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
@@ -29974,16 +29298,10 @@
|
|
|
29974
29298
|
return resourceParams;
|
|
29975
29299
|
}
|
|
29976
29300
|
function coerceConfig$m(config) {
|
|
29977
|
-
|
|
29978
|
-
|
|
29979
|
-
|
|
29980
|
-
|
|
29981
|
-
}
|
|
29982
|
-
const userCustomizations = config.userCustomizations;
|
|
29983
|
-
if (userCustomizations !== undefined) {
|
|
29984
|
-
coercedConfig.userCustomizations = userCustomizations;
|
|
29985
|
-
}
|
|
29986
|
-
return coercedConfig;
|
|
29301
|
+
return coerceConfig$E(config, {
|
|
29302
|
+
'formFactor': coerceFormFactor,
|
|
29303
|
+
'userCustomizations': 1,
|
|
29304
|
+
});
|
|
29987
29305
|
}
|
|
29988
29306
|
function keyBuilder$19(luvio, config) {
|
|
29989
29307
|
const resourceParams = createResourceParams$D(config);
|
|
@@ -29991,14 +29309,10 @@
|
|
|
29991
29309
|
}
|
|
29992
29310
|
function typeCheckConfig$J(untrustedConfig) {
|
|
29993
29311
|
const config = {};
|
|
29994
|
-
|
|
29995
|
-
|
|
29996
|
-
|
|
29997
|
-
}
|
|
29998
|
-
const untrustedConfig_userCustomizations = untrustedConfig.userCustomizations;
|
|
29999
|
-
if (typeof untrustedConfig_userCustomizations === 'boolean') {
|
|
30000
|
-
config.userCustomizations = untrustedConfig_userCustomizations;
|
|
30001
|
-
}
|
|
29312
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
29313
|
+
formFactor: 0 /* String */,
|
|
29314
|
+
userCustomizations: 1 /* Boolean */,
|
|
29315
|
+
});
|
|
30002
29316
|
return config;
|
|
30003
29317
|
}
|
|
30004
29318
|
function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
@@ -30153,20 +29467,11 @@
|
|
|
30153
29467
|
return resourceParams;
|
|
30154
29468
|
}
|
|
30155
29469
|
function coerceConfig$l(config) {
|
|
30156
|
-
|
|
30157
|
-
|
|
30158
|
-
|
|
30159
|
-
|
|
30160
|
-
}
|
|
30161
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
30162
|
-
if (formFactor !== undefined) {
|
|
30163
|
-
coercedConfig.formFactor = formFactor;
|
|
30164
|
-
}
|
|
30165
|
-
const userCustomizations = config.userCustomizations;
|
|
30166
|
-
if (userCustomizations !== undefined) {
|
|
30167
|
-
coercedConfig.userCustomizations = userCustomizations;
|
|
30168
|
-
}
|
|
30169
|
-
return coercedConfig;
|
|
29470
|
+
return coerceConfig$E(config, {
|
|
29471
|
+
'appId': 1,
|
|
29472
|
+
'formFactor': coerceFormFactor,
|
|
29473
|
+
'userCustomizations': 1,
|
|
29474
|
+
});
|
|
30170
29475
|
}
|
|
30171
29476
|
function keyBuilder$17$1(luvio, config) {
|
|
30172
29477
|
const resourceParams = createResourceParams$C(config);
|
|
@@ -30174,18 +29479,11 @@
|
|
|
30174
29479
|
}
|
|
30175
29480
|
function typeCheckConfig$I(untrustedConfig) {
|
|
30176
29481
|
const config = {};
|
|
30177
|
-
|
|
30178
|
-
|
|
30179
|
-
|
|
30180
|
-
|
|
30181
|
-
|
|
30182
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
30183
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
30184
|
-
}
|
|
30185
|
-
const untrustedConfig_userCustomizations = untrustedConfig.userCustomizations;
|
|
30186
|
-
if (typeof untrustedConfig_userCustomizations === 'boolean') {
|
|
30187
|
-
config.userCustomizations = untrustedConfig_userCustomizations;
|
|
30188
|
-
}
|
|
29482
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
29483
|
+
appId: 0 /* String */,
|
|
29484
|
+
formFactor: 0 /* String */,
|
|
29485
|
+
userCustomizations: 1 /* Boolean */,
|
|
29486
|
+
});
|
|
30189
29487
|
return config;
|
|
30190
29488
|
}
|
|
30191
29489
|
function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
@@ -30564,14 +29862,10 @@
|
|
|
30564
29862
|
}
|
|
30565
29863
|
function typeCheckConfig$H(untrustedConfig) {
|
|
30566
29864
|
const config = {};
|
|
30567
|
-
|
|
30568
|
-
|
|
30569
|
-
|
|
30570
|
-
}
|
|
30571
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
30572
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
30573
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
30574
|
-
}
|
|
29865
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
29866
|
+
objectApiName: 0 /* String */,
|
|
29867
|
+
recordTypeId: 0 /* String */,
|
|
29868
|
+
});
|
|
30575
29869
|
return config;
|
|
30576
29870
|
}
|
|
30577
29871
|
function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
@@ -30782,51 +30076,23 @@
|
|
|
30782
30076
|
return resourceParams;
|
|
30783
30077
|
}
|
|
30784
30078
|
function coerceConfig$k(config) {
|
|
30785
|
-
|
|
30786
|
-
|
|
30787
|
-
|
|
30788
|
-
|
|
30789
|
-
|
|
30790
|
-
|
|
30791
|
-
|
|
30792
|
-
coercedConfig.formFactor = formFactor;
|
|
30793
|
-
}
|
|
30794
|
-
const layoutType = coerceLayoutType(config.layoutType);
|
|
30795
|
-
if (layoutType !== undefined) {
|
|
30796
|
-
coercedConfig.layoutType = layoutType;
|
|
30797
|
-
}
|
|
30798
|
-
const mode = coerceLayoutMode(config.mode);
|
|
30799
|
-
if (mode !== undefined) {
|
|
30800
|
-
coercedConfig.mode = mode;
|
|
30801
|
-
}
|
|
30802
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
30803
|
-
if (recordTypeId !== undefined) {
|
|
30804
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
30805
|
-
}
|
|
30806
|
-
return coercedConfig;
|
|
30079
|
+
return coerceConfig$E(config, {
|
|
30080
|
+
'objectApiName': getObjectApiName$1,
|
|
30081
|
+
'formFactor': 1,
|
|
30082
|
+
'layoutType': coerceLayoutType,
|
|
30083
|
+
'mode': coerceLayoutMode,
|
|
30084
|
+
'recordTypeId': getRecordId18,
|
|
30085
|
+
});
|
|
30807
30086
|
}
|
|
30808
30087
|
function typeCheckConfig$G(untrustedConfig) {
|
|
30809
30088
|
const config = {};
|
|
30810
|
-
|
|
30811
|
-
|
|
30812
|
-
|
|
30813
|
-
|
|
30814
|
-
|
|
30815
|
-
|
|
30816
|
-
|
|
30817
|
-
}
|
|
30818
|
-
const untrustedConfig_layoutType = untrustedConfig.layoutType;
|
|
30819
|
-
if (typeof untrustedConfig_layoutType === 'string') {
|
|
30820
|
-
config.layoutType = untrustedConfig_layoutType;
|
|
30821
|
-
}
|
|
30822
|
-
const untrustedConfig_mode = untrustedConfig.mode;
|
|
30823
|
-
if (typeof untrustedConfig_mode === 'string') {
|
|
30824
|
-
config.mode = untrustedConfig_mode;
|
|
30825
|
-
}
|
|
30826
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
30827
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
30828
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
30829
|
-
}
|
|
30089
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30090
|
+
objectApiName: 0 /* String */,
|
|
30091
|
+
formFactor: 0 /* String */,
|
|
30092
|
+
layoutType: 0 /* String */,
|
|
30093
|
+
mode: 0 /* String */,
|
|
30094
|
+
recordTypeId: 0 /* String */,
|
|
30095
|
+
});
|
|
30830
30096
|
return config;
|
|
30831
30097
|
}
|
|
30832
30098
|
function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
@@ -31044,51 +30310,23 @@
|
|
|
31044
30310
|
|
|
31045
30311
|
const adapterName$u = 'getLayoutUserState';
|
|
31046
30312
|
function coerceConfig$j(config) {
|
|
31047
|
-
|
|
31048
|
-
|
|
31049
|
-
|
|
31050
|
-
|
|
31051
|
-
|
|
31052
|
-
|
|
31053
|
-
|
|
31054
|
-
coercedConfig.formFactor = formFactor;
|
|
31055
|
-
}
|
|
31056
|
-
const layoutType = coerceLayoutType(config.layoutType);
|
|
31057
|
-
if (layoutType !== undefined) {
|
|
31058
|
-
coercedConfig.layoutType = layoutType;
|
|
31059
|
-
}
|
|
31060
|
-
const mode = coerceLayoutMode(config.mode);
|
|
31061
|
-
if (mode !== undefined) {
|
|
31062
|
-
coercedConfig.mode = mode;
|
|
31063
|
-
}
|
|
31064
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
31065
|
-
if (recordTypeId !== undefined) {
|
|
31066
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
31067
|
-
}
|
|
31068
|
-
return coercedConfig;
|
|
30313
|
+
return coerceConfig$E(config, {
|
|
30314
|
+
'objectApiName': getObjectApiName$1,
|
|
30315
|
+
'formFactor': 1,
|
|
30316
|
+
'layoutType': coerceLayoutType,
|
|
30317
|
+
'mode': coerceLayoutMode,
|
|
30318
|
+
'recordTypeId': getRecordId18,
|
|
30319
|
+
});
|
|
31069
30320
|
}
|
|
31070
30321
|
function typeCheckConfig$F(untrustedConfig) {
|
|
31071
30322
|
const config = {};
|
|
31072
|
-
|
|
31073
|
-
|
|
31074
|
-
|
|
31075
|
-
|
|
31076
|
-
|
|
31077
|
-
|
|
31078
|
-
|
|
31079
|
-
}
|
|
31080
|
-
const untrustedConfig_layoutType = untrustedConfig.layoutType;
|
|
31081
|
-
if (typeof untrustedConfig_layoutType === 'string') {
|
|
31082
|
-
config.layoutType = untrustedConfig_layoutType;
|
|
31083
|
-
}
|
|
31084
|
-
const untrustedConfig_mode = untrustedConfig.mode;
|
|
31085
|
-
if (typeof untrustedConfig_mode === 'string') {
|
|
31086
|
-
config.mode = untrustedConfig_mode;
|
|
31087
|
-
}
|
|
31088
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
31089
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
31090
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
31091
|
-
}
|
|
30323
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30324
|
+
objectApiName: 0 /* String */,
|
|
30325
|
+
formFactor: 0 /* String */,
|
|
30326
|
+
layoutType: 0 /* String */,
|
|
30327
|
+
mode: 0 /* String */,
|
|
30328
|
+
recordTypeId: 0 /* String */,
|
|
30329
|
+
});
|
|
31092
30330
|
return config;
|
|
31093
30331
|
}
|
|
31094
30332
|
function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
|
|
@@ -31489,28 +30727,10 @@
|
|
|
31489
30727
|
}
|
|
31490
30728
|
function typeCheckConfig$E(untrustedConfig) {
|
|
31491
30729
|
const config = {};
|
|
31492
|
-
|
|
31493
|
-
|
|
31494
|
-
|
|
31495
|
-
|
|
31496
|
-
const untrustedConfig_ids_item = untrustedConfig_ids[i];
|
|
31497
|
-
if (typeof untrustedConfig_ids_item === 'string') {
|
|
31498
|
-
untrustedConfig_ids_array.push(untrustedConfig_ids_item);
|
|
31499
|
-
}
|
|
31500
|
-
}
|
|
31501
|
-
config.ids = untrustedConfig_ids_array;
|
|
31502
|
-
}
|
|
31503
|
-
const untrustedConfig_names = untrustedConfig.names;
|
|
31504
|
-
if (ArrayIsArray$1(untrustedConfig_names)) {
|
|
31505
|
-
const untrustedConfig_names_array = [];
|
|
31506
|
-
for (let i = 0, arrayLength = untrustedConfig_names.length; i < arrayLength; i++) {
|
|
31507
|
-
const untrustedConfig_names_item = untrustedConfig_names[i];
|
|
31508
|
-
if (typeof untrustedConfig_names_item === 'string') {
|
|
31509
|
-
untrustedConfig_names_array.push(untrustedConfig_names_item);
|
|
31510
|
-
}
|
|
31511
|
-
}
|
|
31512
|
-
config.names = untrustedConfig_names_array;
|
|
31513
|
-
}
|
|
30730
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
30731
|
+
ids: 0 /* String */,
|
|
30732
|
+
names: 0 /* String */,
|
|
30733
|
+
});
|
|
31514
30734
|
return config;
|
|
31515
30735
|
}
|
|
31516
30736
|
function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
|
|
@@ -31617,14 +30837,10 @@
|
|
|
31617
30837
|
}
|
|
31618
30838
|
function typeCheckConfig$D(untrustedConfig) {
|
|
31619
30839
|
const config = {};
|
|
31620
|
-
|
|
31621
|
-
|
|
31622
|
-
|
|
31623
|
-
}
|
|
31624
|
-
const untrustedConfig_objectApiName = untrustedConfig.objectApiName;
|
|
31625
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
31626
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
31627
|
-
}
|
|
30840
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30841
|
+
listViewApiName: 0 /* String */,
|
|
30842
|
+
objectApiName: 0 /* String */,
|
|
30843
|
+
});
|
|
31628
30844
|
return config;
|
|
31629
30845
|
}
|
|
31630
30846
|
function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
|
|
@@ -31774,47 +30990,24 @@
|
|
|
31774
30990
|
return resourceParams;
|
|
31775
30991
|
}
|
|
31776
30992
|
function coerceConfig$i(config) {
|
|
31777
|
-
|
|
31778
|
-
|
|
31779
|
-
|
|
31780
|
-
|
|
31781
|
-
|
|
31782
|
-
|
|
31783
|
-
|
|
31784
|
-
|
|
31785
|
-
}
|
|
31786
|
-
const filterLogicString = config.filterLogicString;
|
|
31787
|
-
if (filterLogicString !== undefined) {
|
|
31788
|
-
coercedConfig.filterLogicString = filterLogicString;
|
|
31789
|
-
}
|
|
31790
|
-
const filteredByInfo = config.filteredByInfo;
|
|
31791
|
-
if (filteredByInfo !== undefined) {
|
|
31792
|
-
coercedConfig.filteredByInfo = filteredByInfo;
|
|
31793
|
-
}
|
|
31794
|
-
const label = config.label;
|
|
31795
|
-
if (label !== undefined) {
|
|
31796
|
-
coercedConfig.label = label;
|
|
31797
|
-
}
|
|
31798
|
-
const scope = config.scope;
|
|
31799
|
-
if (scope !== undefined) {
|
|
31800
|
-
coercedConfig.scope = scope;
|
|
31801
|
-
}
|
|
31802
|
-
const visibility = config.visibility;
|
|
31803
|
-
if (visibility !== undefined) {
|
|
31804
|
-
coercedConfig.visibility = visibility;
|
|
31805
|
-
}
|
|
31806
|
-
return coercedConfig;
|
|
30993
|
+
return coerceConfig$E(config, {
|
|
30994
|
+
'listViewApiName': 1,
|
|
30995
|
+
'objectApiName': getObjectApiName$1,
|
|
30996
|
+
'filterLogicString': 1,
|
|
30997
|
+
'filteredByInfo': 1,
|
|
30998
|
+
'label': 1,
|
|
30999
|
+
'scope': 1,
|
|
31000
|
+
'visibility': 1,
|
|
31001
|
+
});
|
|
31807
31002
|
}
|
|
31808
31003
|
function typeCheckConfig$C(untrustedConfig) {
|
|
31809
31004
|
const config = {};
|
|
31810
|
-
|
|
31811
|
-
|
|
31812
|
-
|
|
31813
|
-
|
|
31814
|
-
|
|
31815
|
-
|
|
31816
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
31817
|
-
}
|
|
31005
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
31006
|
+
listViewApiName: 0 /* String */,
|
|
31007
|
+
objectApiName: 0 /* String */,
|
|
31008
|
+
label: 0 /* String */,
|
|
31009
|
+
visibility: 0 /* String */,
|
|
31010
|
+
});
|
|
31818
31011
|
const untrustedConfig_filterLogicString = untrustedConfig.filterLogicString;
|
|
31819
31012
|
if (typeof untrustedConfig_filterLogicString === 'string') {
|
|
31820
31013
|
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
@@ -31834,10 +31027,6 @@
|
|
|
31834
31027
|
}
|
|
31835
31028
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
31836
31029
|
}
|
|
31837
|
-
const untrustedConfig_label = untrustedConfig.label;
|
|
31838
|
-
if (typeof untrustedConfig_label === 'string') {
|
|
31839
|
-
config.label = untrustedConfig_label;
|
|
31840
|
-
}
|
|
31841
31030
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
31842
31031
|
const referenceListScopeRepresentationValidationError = validate$1B(untrustedConfig_scope);
|
|
31843
31032
|
if (referenceListScopeRepresentationValidationError === null) {
|
|
@@ -31846,10 +31035,6 @@
|
|
|
31846
31035
|
if (untrustedConfig_scope === null) {
|
|
31847
31036
|
config.scope = untrustedConfig_scope;
|
|
31848
31037
|
}
|
|
31849
|
-
const untrustedConfig_visibility = untrustedConfig.visibility;
|
|
31850
|
-
if (typeof untrustedConfig_visibility === 'string') {
|
|
31851
|
-
config.visibility = untrustedConfig_visibility;
|
|
31852
|
-
}
|
|
31853
31038
|
return config;
|
|
31854
31039
|
}
|
|
31855
31040
|
function validateAdapterConfig$B(untrustedConfig, configPropertyNames) {
|
|
@@ -32213,12 +31398,9 @@
|
|
|
32213
31398
|
return resourceParams;
|
|
32214
31399
|
}
|
|
32215
31400
|
function coerceConfig$h(config) {
|
|
32216
|
-
|
|
32217
|
-
|
|
32218
|
-
|
|
32219
|
-
coercedConfig.objectApiName = objectApiName;
|
|
32220
|
-
}
|
|
32221
|
-
return coercedConfig;
|
|
31401
|
+
return coerceConfig$E(config, {
|
|
31402
|
+
'objectApiName': getObjectApiName$1,
|
|
31403
|
+
});
|
|
32222
31404
|
}
|
|
32223
31405
|
function keyBuilder$Y$1(luvio, config) {
|
|
32224
31406
|
const resourceParams = createResourceParams$w(config);
|
|
@@ -32226,10 +31408,9 @@
|
|
|
32226
31408
|
}
|
|
32227
31409
|
function typeCheckConfig$B(untrustedConfig) {
|
|
32228
31410
|
const config = {};
|
|
32229
|
-
|
|
32230
|
-
|
|
32231
|
-
|
|
32232
|
-
}
|
|
31411
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
31412
|
+
objectApiName: 0 /* String */,
|
|
31413
|
+
});
|
|
32233
31414
|
return config;
|
|
32234
31415
|
}
|
|
32235
31416
|
function validateAdapterConfig$A(untrustedConfig, configPropertyNames) {
|
|
@@ -32489,24 +31670,12 @@
|
|
|
32489
31670
|
return resourceParams;
|
|
32490
31671
|
}
|
|
32491
31672
|
function coerceConfig$g(config) {
|
|
32492
|
-
|
|
32493
|
-
|
|
32494
|
-
|
|
32495
|
-
|
|
32496
|
-
|
|
32497
|
-
|
|
32498
|
-
if (navItemNames !== undefined) {
|
|
32499
|
-
coercedConfig.navItemNames = navItemNames;
|
|
32500
|
-
}
|
|
32501
|
-
const page = config.page;
|
|
32502
|
-
if (page !== undefined) {
|
|
32503
|
-
coercedConfig.page = page;
|
|
32504
|
-
}
|
|
32505
|
-
const pageSize = config.pageSize;
|
|
32506
|
-
if (pageSize !== undefined) {
|
|
32507
|
-
coercedConfig.pageSize = pageSize;
|
|
32508
|
-
}
|
|
32509
|
-
return coercedConfig;
|
|
31673
|
+
return coerceConfig$E(config, {
|
|
31674
|
+
'formFactor': coerceFormFactor,
|
|
31675
|
+
'navItemNames': 1,
|
|
31676
|
+
'page': 1,
|
|
31677
|
+
'pageSize': 1,
|
|
31678
|
+
});
|
|
32510
31679
|
}
|
|
32511
31680
|
function keyBuilder$W$1(luvio, config) {
|
|
32512
31681
|
const resourceParams = createResourceParams$v(config);
|
|
@@ -32514,29 +31683,14 @@
|
|
|
32514
31683
|
}
|
|
32515
31684
|
function typeCheckConfig$A(untrustedConfig) {
|
|
32516
31685
|
const config = {};
|
|
32517
|
-
|
|
32518
|
-
|
|
32519
|
-
|
|
32520
|
-
|
|
32521
|
-
|
|
32522
|
-
|
|
32523
|
-
|
|
32524
|
-
|
|
32525
|
-
const untrustedConfig_navItemNames_item = untrustedConfig_navItemNames[i];
|
|
32526
|
-
if (typeof untrustedConfig_navItemNames_item === 'string') {
|
|
32527
|
-
untrustedConfig_navItemNames_array.push(untrustedConfig_navItemNames_item);
|
|
32528
|
-
}
|
|
32529
|
-
}
|
|
32530
|
-
config.navItemNames = untrustedConfig_navItemNames_array;
|
|
32531
|
-
}
|
|
32532
|
-
const untrustedConfig_page = untrustedConfig.page;
|
|
32533
|
-
if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
|
|
32534
|
-
config.page = untrustedConfig_page;
|
|
32535
|
-
}
|
|
32536
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
32537
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
32538
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
32539
|
-
}
|
|
31686
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
31687
|
+
formFactor: 0 /* String */,
|
|
31688
|
+
page: 3 /* Integer */,
|
|
31689
|
+
pageSize: 3 /* Integer */,
|
|
31690
|
+
});
|
|
31691
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
31692
|
+
navItemNames: 0 /* String */,
|
|
31693
|
+
});
|
|
32540
31694
|
return config;
|
|
32541
31695
|
}
|
|
32542
31696
|
function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
|
|
@@ -32891,12 +32045,9 @@
|
|
|
32891
32045
|
return resourceParams;
|
|
32892
32046
|
}
|
|
32893
32047
|
function coerceConfig$f(config) {
|
|
32894
|
-
|
|
32895
|
-
|
|
32896
|
-
|
|
32897
|
-
coercedConfig.objectApiNames = objectApiNames;
|
|
32898
|
-
}
|
|
32899
|
-
return coercedConfig;
|
|
32048
|
+
return coerceConfig$E(config, {
|
|
32049
|
+
'objectApiNames': getObjectApiNamesArray,
|
|
32050
|
+
});
|
|
32900
32051
|
}
|
|
32901
32052
|
function keyBuilder$U$1(luvio, config) {
|
|
32902
32053
|
const resourceParams = createResourceParams$u(config);
|
|
@@ -32904,17 +32055,9 @@
|
|
|
32904
32055
|
}
|
|
32905
32056
|
function typeCheckConfig$z(untrustedConfig) {
|
|
32906
32057
|
const config = {};
|
|
32907
|
-
|
|
32908
|
-
|
|
32909
|
-
|
|
32910
|
-
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
32911
|
-
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
32912
|
-
if (typeof untrustedConfig_objectApiNames_item === 'string') {
|
|
32913
|
-
untrustedConfig_objectApiNames_array.push(untrustedConfig_objectApiNames_item);
|
|
32914
|
-
}
|
|
32915
|
-
}
|
|
32916
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
32917
|
-
}
|
|
32058
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
32059
|
+
objectApiNames: 0 /* String */,
|
|
32060
|
+
});
|
|
32918
32061
|
return config;
|
|
32919
32062
|
}
|
|
32920
32063
|
function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
|
|
@@ -33385,16 +32528,10 @@
|
|
|
33385
32528
|
return resourceParams;
|
|
33386
32529
|
}
|
|
33387
32530
|
function coerceConfig$e(config) {
|
|
33388
|
-
|
|
33389
|
-
|
|
33390
|
-
|
|
33391
|
-
|
|
33392
|
-
}
|
|
33393
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
33394
|
-
if (recordTypeId !== undefined) {
|
|
33395
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
33396
|
-
}
|
|
33397
|
-
return coercedConfig;
|
|
32531
|
+
return coerceConfig$E(config, {
|
|
32532
|
+
'objectApiName': getObjectApiName$1,
|
|
32533
|
+
'recordTypeId': getRecordId18,
|
|
32534
|
+
});
|
|
33398
32535
|
}
|
|
33399
32536
|
function keyBuilder$R$1(luvio, config) {
|
|
33400
32537
|
const resourceParams = createResourceParams$t(config);
|
|
@@ -33402,14 +32539,10 @@
|
|
|
33402
32539
|
}
|
|
33403
32540
|
function typeCheckConfig$y(untrustedConfig) {
|
|
33404
32541
|
const config = {};
|
|
33405
|
-
|
|
33406
|
-
|
|
33407
|
-
|
|
33408
|
-
}
|
|
33409
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
33410
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
33411
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
33412
|
-
}
|
|
32542
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
32543
|
+
objectApiName: 0 /* String */,
|
|
32544
|
+
recordTypeId: 0 /* String */,
|
|
32545
|
+
});
|
|
33413
32546
|
return config;
|
|
33414
32547
|
}
|
|
33415
32548
|
function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
|
|
@@ -33632,35 +32765,19 @@
|
|
|
33632
32765
|
|
|
33633
32766
|
const adapterName$m = 'getPicklistValues';
|
|
33634
32767
|
function coerceConfig$d(config) {
|
|
33635
|
-
|
|
33636
|
-
|
|
33637
|
-
|
|
33638
|
-
|
|
33639
|
-
}
|
|
33640
|
-
const objectApiName = config.objectApiName;
|
|
33641
|
-
if (objectApiName !== undefined) {
|
|
33642
|
-
coercedConfig.objectApiName = objectApiName;
|
|
33643
|
-
}
|
|
33644
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
33645
|
-
if (recordTypeId !== undefined) {
|
|
33646
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
33647
|
-
}
|
|
33648
|
-
return coercedConfig;
|
|
32768
|
+
return coerceConfig$E(config, {
|
|
32769
|
+
'fieldApiName': getFieldApiName,
|
|
32770
|
+
'objectApiName': 1,
|
|
32771
|
+
'recordTypeId': getRecordId18,
|
|
32772
|
+
});
|
|
33649
32773
|
}
|
|
33650
32774
|
function typeCheckConfig$x(untrustedConfig) {
|
|
33651
32775
|
const config = {};
|
|
33652
|
-
|
|
33653
|
-
|
|
33654
|
-
|
|
33655
|
-
|
|
33656
|
-
|
|
33657
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
33658
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
33659
|
-
}
|
|
33660
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
33661
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
33662
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
33663
|
-
}
|
|
32776
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
32777
|
+
fieldApiName: 0 /* String */,
|
|
32778
|
+
objectApiName: 0 /* String */,
|
|
32779
|
+
recordTypeId: 0 /* String */,
|
|
32780
|
+
});
|
|
33664
32781
|
return config;
|
|
33665
32782
|
}
|
|
33666
32783
|
function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
|
|
@@ -33813,14 +32930,10 @@
|
|
|
33813
32930
|
}
|
|
33814
32931
|
function typeCheckConfig$w(untrustedConfig) {
|
|
33815
32932
|
const config = {};
|
|
33816
|
-
|
|
33817
|
-
|
|
33818
|
-
|
|
33819
|
-
}
|
|
33820
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
33821
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
33822
|
-
config.apiName = untrustedConfig_apiName;
|
|
33823
|
-
}
|
|
32933
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
32934
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
32935
|
+
apiName: 0 /* String */,
|
|
32936
|
+
});
|
|
33824
32937
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
33825
32938
|
if (untrustedIsObject$2(untrustedConfig_fields)) {
|
|
33826
32939
|
const untrustedConfig_fields_object = {};
|
|
@@ -34894,34 +34007,19 @@
|
|
|
34894
34007
|
return resourceParams;
|
|
34895
34008
|
}
|
|
34896
34009
|
function coerceConfig$c(config) {
|
|
34897
|
-
|
|
34898
|
-
|
|
34899
|
-
|
|
34900
|
-
|
|
34901
|
-
}
|
|
34902
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
34903
|
-
if (formFactor !== undefined) {
|
|
34904
|
-
coercedConfig.formFactor = formFactor;
|
|
34905
|
-
}
|
|
34906
|
-
return coercedConfig;
|
|
34010
|
+
return coerceConfig$E(config, {
|
|
34011
|
+
'recordIds': getRecordId18Array,
|
|
34012
|
+
'formFactor': coerceFormFactor,
|
|
34013
|
+
});
|
|
34907
34014
|
}
|
|
34908
34015
|
function typeCheckConfig$v(untrustedConfig) {
|
|
34909
34016
|
const config = {};
|
|
34910
|
-
|
|
34911
|
-
|
|
34912
|
-
|
|
34913
|
-
|
|
34914
|
-
|
|
34915
|
-
|
|
34916
|
-
untrustedConfig_recordIds_array.push(untrustedConfig_recordIds_item);
|
|
34917
|
-
}
|
|
34918
|
-
}
|
|
34919
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
34920
|
-
}
|
|
34921
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
34922
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
34923
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
34924
|
-
}
|
|
34017
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
34018
|
+
formFactor: 0 /* String */,
|
|
34019
|
+
});
|
|
34020
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
34021
|
+
recordIds: 0 /* String */,
|
|
34022
|
+
});
|
|
34925
34023
|
return config;
|
|
34926
34024
|
}
|
|
34927
34025
|
function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
@@ -35644,20 +34742,11 @@
|
|
|
35644
34742
|
return resourceParams;
|
|
35645
34743
|
}
|
|
35646
34744
|
function coerceConfig$a(config) {
|
|
35647
|
-
|
|
35648
|
-
|
|
35649
|
-
|
|
35650
|
-
|
|
35651
|
-
}
|
|
35652
|
-
const relatedListNames = getFieldApiNamesArray(config.relatedListNames);
|
|
35653
|
-
if (relatedListNames !== undefined) {
|
|
35654
|
-
coercedConfig.relatedListNames = relatedListNames;
|
|
35655
|
-
}
|
|
35656
|
-
const maxCount = config.maxCount;
|
|
35657
|
-
if (maxCount !== undefined) {
|
|
35658
|
-
coercedConfig.maxCount = maxCount;
|
|
35659
|
-
}
|
|
35660
|
-
return coercedConfig;
|
|
34745
|
+
return coerceConfig$E(config, {
|
|
34746
|
+
'parentRecordId': 1,
|
|
34747
|
+
'relatedListNames': getFieldApiNamesArray,
|
|
34748
|
+
'maxCount': 1,
|
|
34749
|
+
});
|
|
35661
34750
|
}
|
|
35662
34751
|
function keyBuilder$I$1(luvio, config) {
|
|
35663
34752
|
const resourceParams = createResourceParams$q(config);
|
|
@@ -35665,25 +34754,13 @@
|
|
|
35665
34754
|
}
|
|
35666
34755
|
function typeCheckConfig$t(untrustedConfig) {
|
|
35667
34756
|
const config = {};
|
|
35668
|
-
|
|
35669
|
-
|
|
35670
|
-
|
|
35671
|
-
}
|
|
35672
|
-
|
|
35673
|
-
|
|
35674
|
-
|
|
35675
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
|
|
35676
|
-
const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
|
|
35677
|
-
if (typeof untrustedConfig_relatedListNames_item === 'string') {
|
|
35678
|
-
untrustedConfig_relatedListNames_array.push(untrustedConfig_relatedListNames_item);
|
|
35679
|
-
}
|
|
35680
|
-
}
|
|
35681
|
-
config.relatedListNames = untrustedConfig_relatedListNames_array;
|
|
35682
|
-
}
|
|
35683
|
-
const untrustedConfig_maxCount = untrustedConfig.maxCount;
|
|
35684
|
-
if (typeof untrustedConfig_maxCount === 'number' && Math.floor(untrustedConfig_maxCount) === untrustedConfig_maxCount) {
|
|
35685
|
-
config.maxCount = untrustedConfig_maxCount;
|
|
35686
|
-
}
|
|
34757
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
34758
|
+
parentRecordId: 0 /* String */,
|
|
34759
|
+
maxCount: 3 /* Integer */,
|
|
34760
|
+
});
|
|
34761
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
34762
|
+
relatedListNames: 0 /* String */,
|
|
34763
|
+
});
|
|
35687
34764
|
return config;
|
|
35688
34765
|
}
|
|
35689
34766
|
function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
|
|
@@ -35794,18 +34871,11 @@
|
|
|
35794
34871
|
}
|
|
35795
34872
|
function typeCheckConfig$s(untrustedConfig) {
|
|
35796
34873
|
const config = {};
|
|
35797
|
-
|
|
35798
|
-
|
|
35799
|
-
|
|
35800
|
-
|
|
35801
|
-
|
|
35802
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
35803
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
35804
|
-
}
|
|
35805
|
-
const untrustedConfig_maxCount = untrustedConfig.maxCount;
|
|
35806
|
-
if (typeof untrustedConfig_maxCount === 'number' && Math.floor(untrustedConfig_maxCount) === untrustedConfig_maxCount) {
|
|
35807
|
-
config.maxCount = untrustedConfig_maxCount;
|
|
35808
|
-
}
|
|
34874
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
34875
|
+
parentRecordId: 0 /* String */,
|
|
34876
|
+
relatedListId: 0 /* String */,
|
|
34877
|
+
maxCount: 3 /* Integer */,
|
|
34878
|
+
});
|
|
35809
34879
|
return config;
|
|
35810
34880
|
}
|
|
35811
34881
|
function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
@@ -36379,20 +35449,11 @@
|
|
|
36379
35449
|
return resourceParams;
|
|
36380
35450
|
}
|
|
36381
35451
|
function coerceConfig$9(config) {
|
|
36382
|
-
|
|
36383
|
-
|
|
36384
|
-
|
|
36385
|
-
|
|
36386
|
-
}
|
|
36387
|
-
const relatedListNames = config.relatedListNames;
|
|
36388
|
-
if (relatedListNames !== undefined) {
|
|
36389
|
-
coercedConfig.relatedListNames = relatedListNames;
|
|
36390
|
-
}
|
|
36391
|
-
const recordTypeId = config.recordTypeId;
|
|
36392
|
-
if (recordTypeId !== undefined) {
|
|
36393
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
36394
|
-
}
|
|
36395
|
-
return coercedConfig;
|
|
35452
|
+
return coerceConfig$E(config, {
|
|
35453
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
35454
|
+
'relatedListNames': 1,
|
|
35455
|
+
'recordTypeId': 1,
|
|
35456
|
+
});
|
|
36396
35457
|
}
|
|
36397
35458
|
function keyBuilder$D$1(luvio, config) {
|
|
36398
35459
|
const resourceParams = createResourceParams$o(config);
|
|
@@ -36400,25 +35461,13 @@
|
|
|
36400
35461
|
}
|
|
36401
35462
|
function typeCheckConfig$r(untrustedConfig) {
|
|
36402
35463
|
const config = {};
|
|
36403
|
-
|
|
36404
|
-
|
|
36405
|
-
|
|
36406
|
-
}
|
|
36407
|
-
|
|
36408
|
-
|
|
36409
|
-
|
|
36410
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
|
|
36411
|
-
const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
|
|
36412
|
-
if (typeof untrustedConfig_relatedListNames_item === 'string') {
|
|
36413
|
-
untrustedConfig_relatedListNames_array.push(untrustedConfig_relatedListNames_item);
|
|
36414
|
-
}
|
|
36415
|
-
}
|
|
36416
|
-
config.relatedListNames = untrustedConfig_relatedListNames_array;
|
|
36417
|
-
}
|
|
36418
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
36419
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
36420
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
36421
|
-
}
|
|
35464
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
35465
|
+
parentObjectApiName: 0 /* String */,
|
|
35466
|
+
recordTypeId: 0 /* String */,
|
|
35467
|
+
});
|
|
35468
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
35469
|
+
relatedListNames: 0 /* String */,
|
|
35470
|
+
});
|
|
36422
35471
|
return config;
|
|
36423
35472
|
}
|
|
36424
35473
|
function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
|
|
@@ -36647,16 +35696,10 @@
|
|
|
36647
35696
|
return resourceParams;
|
|
36648
35697
|
}
|
|
36649
35698
|
function coerceConfig$8(config) {
|
|
36650
|
-
|
|
36651
|
-
|
|
36652
|
-
|
|
36653
|
-
|
|
36654
|
-
}
|
|
36655
|
-
const recordTypeId = config.recordTypeId;
|
|
36656
|
-
if (recordTypeId !== undefined) {
|
|
36657
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
36658
|
-
}
|
|
36659
|
-
return coercedConfig;
|
|
35699
|
+
return coerceConfig$E(config, {
|
|
35700
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
35701
|
+
'recordTypeId': 1,
|
|
35702
|
+
});
|
|
36660
35703
|
}
|
|
36661
35704
|
function keyBuilder$A$1(luvio, config) {
|
|
36662
35705
|
const resourceParams = createResourceParams$n(config);
|
|
@@ -36664,14 +35707,10 @@
|
|
|
36664
35707
|
}
|
|
36665
35708
|
function typeCheckConfig$q(untrustedConfig) {
|
|
36666
35709
|
const config = {};
|
|
36667
|
-
|
|
36668
|
-
|
|
36669
|
-
|
|
36670
|
-
}
|
|
36671
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
36672
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
36673
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
36674
|
-
}
|
|
35710
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
35711
|
+
parentObjectApiName: 0 /* String */,
|
|
35712
|
+
recordTypeId: 0 /* String */,
|
|
35713
|
+
});
|
|
36675
35714
|
return config;
|
|
36676
35715
|
}
|
|
36677
35716
|
function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
|
|
@@ -36777,32 +35816,14 @@
|
|
|
36777
35816
|
return resourceParams;
|
|
36778
35817
|
}
|
|
36779
35818
|
function coerceConfig$7(config) {
|
|
36780
|
-
|
|
36781
|
-
|
|
36782
|
-
|
|
36783
|
-
|
|
36784
|
-
|
|
36785
|
-
|
|
36786
|
-
|
|
36787
|
-
|
|
36788
|
-
}
|
|
36789
|
-
const fields = config.fields;
|
|
36790
|
-
if (fields !== undefined) {
|
|
36791
|
-
coercedConfig.fields = fields;
|
|
36792
|
-
}
|
|
36793
|
-
const optionalFields = config.optionalFields;
|
|
36794
|
-
if (optionalFields !== undefined) {
|
|
36795
|
-
coercedConfig.optionalFields = optionalFields;
|
|
36796
|
-
}
|
|
36797
|
-
const recordTypeId = config.recordTypeId;
|
|
36798
|
-
if (recordTypeId !== undefined) {
|
|
36799
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
36800
|
-
}
|
|
36801
|
-
const restrictColumnsToLayout = config.restrictColumnsToLayout;
|
|
36802
|
-
if (restrictColumnsToLayout !== undefined) {
|
|
36803
|
-
coercedConfig.restrictColumnsToLayout = restrictColumnsToLayout;
|
|
36804
|
-
}
|
|
36805
|
-
return coercedConfig;
|
|
35819
|
+
return coerceConfig$E(config, {
|
|
35820
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
35821
|
+
'relatedListId': 1,
|
|
35822
|
+
'fields': 1,
|
|
35823
|
+
'optionalFields': 1,
|
|
35824
|
+
'recordTypeId': 1,
|
|
35825
|
+
'restrictColumnsToLayout': 1,
|
|
35826
|
+
});
|
|
36806
35827
|
}
|
|
36807
35828
|
function keyBuilder$z$1(luvio, config) {
|
|
36808
35829
|
const resourceParams = createResourceParams$m(config);
|
|
@@ -36810,44 +35831,16 @@
|
|
|
36810
35831
|
}
|
|
36811
35832
|
function typeCheckConfig$p(untrustedConfig) {
|
|
36812
35833
|
const config = {};
|
|
36813
|
-
|
|
36814
|
-
|
|
36815
|
-
|
|
36816
|
-
|
|
36817
|
-
|
|
36818
|
-
|
|
36819
|
-
|
|
36820
|
-
|
|
36821
|
-
|
|
36822
|
-
|
|
36823
|
-
const untrustedConfig_fields_array = [];
|
|
36824
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
36825
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
36826
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
36827
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
36828
|
-
}
|
|
36829
|
-
}
|
|
36830
|
-
config.fields = untrustedConfig_fields_array;
|
|
36831
|
-
}
|
|
36832
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
36833
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
36834
|
-
const untrustedConfig_optionalFields_array = [];
|
|
36835
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
36836
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
36837
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
36838
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
36839
|
-
}
|
|
36840
|
-
}
|
|
36841
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
36842
|
-
}
|
|
36843
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
36844
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
36845
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
36846
|
-
}
|
|
36847
|
-
const untrustedConfig_restrictColumnsToLayout = untrustedConfig.restrictColumnsToLayout;
|
|
36848
|
-
if (typeof untrustedConfig_restrictColumnsToLayout === 'boolean') {
|
|
36849
|
-
config.restrictColumnsToLayout = untrustedConfig_restrictColumnsToLayout;
|
|
36850
|
-
}
|
|
35834
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
35835
|
+
parentObjectApiName: 0 /* String */,
|
|
35836
|
+
relatedListId: 0 /* String */,
|
|
35837
|
+
recordTypeId: 0 /* String */,
|
|
35838
|
+
restrictColumnsToLayout: 1 /* Boolean */,
|
|
35839
|
+
});
|
|
35840
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
35841
|
+
fields: 0 /* String */,
|
|
35842
|
+
optionalFields: 0 /* String */,
|
|
35843
|
+
});
|
|
36851
35844
|
return config;
|
|
36852
35845
|
}
|
|
36853
35846
|
function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
|
|
@@ -37043,43 +36036,21 @@
|
|
|
37043
36036
|
return resourceParams;
|
|
37044
36037
|
}
|
|
37045
36038
|
function coerceConfig$6(config) {
|
|
37046
|
-
|
|
37047
|
-
|
|
37048
|
-
|
|
37049
|
-
|
|
37050
|
-
|
|
37051
|
-
|
|
37052
|
-
|
|
37053
|
-
coercedConfig.relatedListId = relatedListId;
|
|
37054
|
-
}
|
|
37055
|
-
const recordTypeId = config.recordTypeId;
|
|
37056
|
-
if (recordTypeId !== undefined) {
|
|
37057
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
37058
|
-
}
|
|
37059
|
-
const orderedByInfo = config.orderedByInfo;
|
|
37060
|
-
if (orderedByInfo !== undefined) {
|
|
37061
|
-
coercedConfig.orderedByInfo = orderedByInfo;
|
|
37062
|
-
}
|
|
37063
|
-
const userPreferences = config.userPreferences;
|
|
37064
|
-
if (userPreferences !== undefined) {
|
|
37065
|
-
coercedConfig.userPreferences = userPreferences;
|
|
37066
|
-
}
|
|
37067
|
-
return coercedConfig;
|
|
36039
|
+
return coerceConfig$E(config, {
|
|
36040
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
36041
|
+
'relatedListId': 1,
|
|
36042
|
+
'recordTypeId': 1,
|
|
36043
|
+
'orderedByInfo': 1,
|
|
36044
|
+
'userPreferences': 1,
|
|
36045
|
+
});
|
|
37068
36046
|
}
|
|
37069
36047
|
function typeCheckConfig$o(untrustedConfig) {
|
|
37070
36048
|
const config = {};
|
|
37071
|
-
|
|
37072
|
-
|
|
37073
|
-
|
|
37074
|
-
|
|
37075
|
-
|
|
37076
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
37077
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
37078
|
-
}
|
|
37079
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
37080
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
37081
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
37082
|
-
}
|
|
36049
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
36050
|
+
parentObjectApiName: 0 /* String */,
|
|
36051
|
+
relatedListId: 0 /* String */,
|
|
36052
|
+
recordTypeId: 0 /* String */,
|
|
36053
|
+
});
|
|
37083
36054
|
const untrustedConfig_orderedByInfo = untrustedConfig.orderedByInfo;
|
|
37084
36055
|
if (ArrayIsArray$1(untrustedConfig_orderedByInfo)) {
|
|
37085
36056
|
const untrustedConfig_orderedByInfo_array = [];
|
|
@@ -37525,17 +36496,9 @@
|
|
|
37525
36496
|
}
|
|
37526
36497
|
function typeCheckConfig$n(untrustedConfig) {
|
|
37527
36498
|
const config = {};
|
|
37528
|
-
|
|
37529
|
-
|
|
37530
|
-
|
|
37531
|
-
for (let i = 0, arrayLength = untrustedConfig_preferencesIds.length; i < arrayLength; i++) {
|
|
37532
|
-
const untrustedConfig_preferencesIds_item = untrustedConfig_preferencesIds[i];
|
|
37533
|
-
if (typeof untrustedConfig_preferencesIds_item === 'string') {
|
|
37534
|
-
untrustedConfig_preferencesIds_array.push(untrustedConfig_preferencesIds_item);
|
|
37535
|
-
}
|
|
37536
|
-
}
|
|
37537
|
-
config.preferencesIds = untrustedConfig_preferencesIds_array;
|
|
37538
|
-
}
|
|
36499
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
36500
|
+
preferencesIds: 0 /* String */,
|
|
36501
|
+
});
|
|
37539
36502
|
return config;
|
|
37540
36503
|
}
|
|
37541
36504
|
function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
@@ -37642,10 +36605,9 @@
|
|
|
37642
36605
|
}
|
|
37643
36606
|
function typeCheckConfig$m(untrustedConfig) {
|
|
37644
36607
|
const config = {};
|
|
37645
|
-
|
|
37646
|
-
|
|
37647
|
-
|
|
37648
|
-
}
|
|
36608
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
36609
|
+
preferencesId: 0 /* String */,
|
|
36610
|
+
});
|
|
37649
36611
|
return config;
|
|
37650
36612
|
}
|
|
37651
36613
|
function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
|
|
@@ -37789,10 +36751,9 @@
|
|
|
37789
36751
|
}
|
|
37790
36752
|
function typeCheckConfig$l(untrustedConfig) {
|
|
37791
36753
|
const config = {};
|
|
37792
|
-
|
|
37793
|
-
|
|
37794
|
-
|
|
37795
|
-
}
|
|
36754
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
36755
|
+
preferencesId: 0 /* String */,
|
|
36756
|
+
});
|
|
37796
36757
|
const untrustedConfig_columnWidths = untrustedConfig.columnWidths;
|
|
37797
36758
|
if (untrustedIsObject$2(untrustedConfig_columnWidths)) {
|
|
37798
36759
|
const untrustedConfig_columnWidths_object = {};
|
|
@@ -38835,10 +37796,9 @@
|
|
|
38835
37796
|
}
|
|
38836
37797
|
function typeCheckConfig$k(untrustedConfig) {
|
|
38837
37798
|
const config = {};
|
|
38838
|
-
|
|
38839
|
-
|
|
38840
|
-
|
|
38841
|
-
}
|
|
37799
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
37800
|
+
parentRecordId: 0 /* String */,
|
|
37801
|
+
});
|
|
38842
37802
|
const untrustedConfig_relatedListParameters = untrustedConfig.relatedListParameters;
|
|
38843
37803
|
if (ArrayIsArray$1(untrustedConfig_relatedListParameters)) {
|
|
38844
37804
|
const untrustedConfig_relatedListParameters_array = [];
|
|
@@ -38973,59 +37933,18 @@
|
|
|
38973
37933
|
}
|
|
38974
37934
|
function typeCheckConfig$j(untrustedConfig) {
|
|
38975
37935
|
const config = {};
|
|
38976
|
-
|
|
38977
|
-
|
|
38978
|
-
|
|
38979
|
-
|
|
38980
|
-
|
|
38981
|
-
|
|
38982
|
-
|
|
38983
|
-
|
|
38984
|
-
|
|
38985
|
-
|
|
38986
|
-
|
|
38987
|
-
|
|
38988
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
38989
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
38990
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
38991
|
-
}
|
|
38992
|
-
}
|
|
38993
|
-
config.fields = untrustedConfig_fields_array;
|
|
38994
|
-
}
|
|
38995
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
38996
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
38997
|
-
const untrustedConfig_optionalFields_array = [];
|
|
38998
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
38999
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
39000
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
39001
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
39002
|
-
}
|
|
39003
|
-
}
|
|
39004
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
39005
|
-
}
|
|
39006
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
39007
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
39008
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
39009
|
-
}
|
|
39010
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
39011
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
39012
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
39013
|
-
}
|
|
39014
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
39015
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
39016
|
-
const untrustedConfig_sortBy_array = [];
|
|
39017
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
39018
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
39019
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
39020
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
39021
|
-
}
|
|
39022
|
-
}
|
|
39023
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
39024
|
-
}
|
|
39025
|
-
const untrustedConfig_where = untrustedConfig.where;
|
|
39026
|
-
if (typeof untrustedConfig_where === 'string') {
|
|
39027
|
-
config.where = untrustedConfig_where;
|
|
39028
|
-
}
|
|
37936
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
37937
|
+
parentRecordId: 0 /* String */,
|
|
37938
|
+
relatedListId: 0 /* String */,
|
|
37939
|
+
pageSize: 3 /* Integer */,
|
|
37940
|
+
pageToken: 0 /* String */,
|
|
37941
|
+
where: 0 /* String */,
|
|
37942
|
+
});
|
|
37943
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
37944
|
+
fields: 0 /* String */,
|
|
37945
|
+
optionalFields: 0 /* String */,
|
|
37946
|
+
sortBy: 0 /* String */,
|
|
37947
|
+
});
|
|
39029
37948
|
return config;
|
|
39030
37949
|
}
|
|
39031
37950
|
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
@@ -39516,10 +38435,9 @@
|
|
|
39516
38435
|
}
|
|
39517
38436
|
function typeCheckConfig$i(untrustedConfig) {
|
|
39518
38437
|
const config = {};
|
|
39519
|
-
|
|
39520
|
-
|
|
39521
|
-
|
|
39522
|
-
}
|
|
38438
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
38439
|
+
objectApiName: 0 /* String */,
|
|
38440
|
+
});
|
|
39523
38441
|
return config;
|
|
39524
38442
|
}
|
|
39525
38443
|
function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
@@ -39745,18 +38663,11 @@
|
|
|
39745
38663
|
}
|
|
39746
38664
|
function typeCheckConfig$h(untrustedConfig) {
|
|
39747
38665
|
const config = {};
|
|
39748
|
-
|
|
39749
|
-
|
|
39750
|
-
|
|
39751
|
-
|
|
39752
|
-
|
|
39753
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
39754
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
39755
|
-
}
|
|
39756
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
39757
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
39758
|
-
config.q = untrustedConfig_q;
|
|
39759
|
-
}
|
|
38666
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
38667
|
+
filterApiName: 0 /* String */,
|
|
38668
|
+
objectApiName: 0 /* String */,
|
|
38669
|
+
q: 0 /* String */,
|
|
38670
|
+
});
|
|
39760
38671
|
return config;
|
|
39761
38672
|
}
|
|
39762
38673
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -39977,14 +38888,10 @@
|
|
|
39977
38888
|
}
|
|
39978
38889
|
function typeCheckConfig$g(untrustedConfig) {
|
|
39979
38890
|
const config = {};
|
|
39980
|
-
|
|
39981
|
-
|
|
39982
|
-
|
|
39983
|
-
}
|
|
39984
|
-
const untrustedConfig_objectApiName = untrustedConfig.objectApiName;
|
|
39985
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
39986
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
39987
|
-
}
|
|
38891
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
38892
|
+
fieldApiName: 0 /* String */,
|
|
38893
|
+
objectApiName: 0 /* String */,
|
|
38894
|
+
});
|
|
39988
38895
|
return config;
|
|
39989
38896
|
}
|
|
39990
38897
|
function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
@@ -40210,32 +39117,13 @@
|
|
|
40210
39117
|
}
|
|
40211
39118
|
function typeCheckConfig$f(untrustedConfig) {
|
|
40212
39119
|
const config = {};
|
|
40213
|
-
|
|
40214
|
-
|
|
40215
|
-
|
|
40216
|
-
|
|
40217
|
-
|
|
40218
|
-
|
|
40219
|
-
|
|
40220
|
-
for (let i = 0, arrayLength = untrustedConfig_answerTypes.length; i < arrayLength; i++) {
|
|
40221
|
-
const untrustedConfig_answerTypes_item = untrustedConfig_answerTypes[i];
|
|
40222
|
-
if (typeof untrustedConfig_answerTypes_item === 'string') {
|
|
40223
|
-
untrustedConfig_answerTypes_array.push(untrustedConfig_answerTypes_item);
|
|
40224
|
-
}
|
|
40225
|
-
}
|
|
40226
|
-
config.answerTypes = untrustedConfig_answerTypes_array;
|
|
40227
|
-
}
|
|
40228
|
-
const untrustedConfig_objectApiNames = untrustedConfig.objectApiNames;
|
|
40229
|
-
if (ArrayIsArray$1(untrustedConfig_objectApiNames)) {
|
|
40230
|
-
const untrustedConfig_objectApiNames_array = [];
|
|
40231
|
-
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
40232
|
-
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
40233
|
-
if (typeof untrustedConfig_objectApiNames_item === 'string') {
|
|
40234
|
-
untrustedConfig_objectApiNames_array.push(untrustedConfig_objectApiNames_item);
|
|
40235
|
-
}
|
|
40236
|
-
}
|
|
40237
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
40238
|
-
}
|
|
39120
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
39121
|
+
q: 0 /* String */,
|
|
39122
|
+
});
|
|
39123
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
39124
|
+
answerTypes: 0 /* String */,
|
|
39125
|
+
objectApiNames: 0 /* String */,
|
|
39126
|
+
});
|
|
40239
39127
|
return config;
|
|
40240
39128
|
}
|
|
40241
39129
|
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
@@ -40538,14 +39426,13 @@
|
|
|
40538
39426
|
}
|
|
40539
39427
|
function typeCheckConfig$e(untrustedConfig) {
|
|
40540
39428
|
const config = {};
|
|
40541
|
-
|
|
40542
|
-
|
|
40543
|
-
|
|
40544
|
-
|
|
40545
|
-
|
|
40546
|
-
|
|
40547
|
-
|
|
40548
|
-
}
|
|
39429
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
39430
|
+
objectApiName: 0 /* String */,
|
|
39431
|
+
q: 0 /* String */,
|
|
39432
|
+
pageSize: 3 /* Integer */,
|
|
39433
|
+
pageToken: 0 /* String */,
|
|
39434
|
+
sortBy: 0 /* String */,
|
|
39435
|
+
});
|
|
40549
39436
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
40550
39437
|
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
40551
39438
|
const untrustedConfig_filters_array = [];
|
|
@@ -40558,18 +39445,6 @@
|
|
|
40558
39445
|
}
|
|
40559
39446
|
config.filters = untrustedConfig_filters_array;
|
|
40560
39447
|
}
|
|
40561
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
40562
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
40563
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
40564
|
-
}
|
|
40565
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
40566
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
40567
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
40568
|
-
}
|
|
40569
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
40570
|
-
if (typeof untrustedConfig_sortBy === 'string') {
|
|
40571
|
-
config.sortBy = untrustedConfig_sortBy;
|
|
40572
|
-
}
|
|
40573
39448
|
return config;
|
|
40574
39449
|
}
|
|
40575
39450
|
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
@@ -40715,22 +39590,12 @@
|
|
|
40715
39590
|
}
|
|
40716
39591
|
function typeCheckConfig$d(untrustedConfig) {
|
|
40717
39592
|
const config = {};
|
|
40718
|
-
|
|
40719
|
-
|
|
40720
|
-
|
|
40721
|
-
|
|
40722
|
-
|
|
40723
|
-
|
|
40724
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
40725
|
-
}
|
|
40726
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
40727
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
40728
|
-
config.apiName = untrustedConfig_apiName;
|
|
40729
|
-
}
|
|
40730
|
-
const untrustedConfig_contextId = untrustedConfig.contextId;
|
|
40731
|
-
if (typeof untrustedConfig_contextId === 'string') {
|
|
40732
|
-
config.contextId = untrustedConfig_contextId;
|
|
40733
|
-
}
|
|
39593
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
39594
|
+
actionApiName: 0 /* String */,
|
|
39595
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
39596
|
+
apiName: 0 /* String */,
|
|
39597
|
+
contextId: 0 /* String */,
|
|
39598
|
+
});
|
|
40734
39599
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
40735
39600
|
if (untrustedIsObject$2(untrustedConfig_fields)) {
|
|
40736
39601
|
const untrustedConfig_fields_object = {};
|
|
@@ -40864,22 +39729,12 @@
|
|
|
40864
39729
|
}
|
|
40865
39730
|
function typeCheckConfig$c(untrustedConfig) {
|
|
40866
39731
|
const config = {};
|
|
40867
|
-
|
|
40868
|
-
|
|
40869
|
-
|
|
40870
|
-
|
|
40871
|
-
|
|
40872
|
-
|
|
40873
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
40874
|
-
}
|
|
40875
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
40876
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
40877
|
-
config.apiName = untrustedConfig_apiName;
|
|
40878
|
-
}
|
|
40879
|
-
const untrustedConfig_contextId = untrustedConfig.contextId;
|
|
40880
|
-
if (typeof untrustedConfig_contextId === 'string') {
|
|
40881
|
-
config.contextId = untrustedConfig_contextId;
|
|
40882
|
-
}
|
|
39732
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
39733
|
+
actionApiName: 0 /* String */,
|
|
39734
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
39735
|
+
apiName: 0 /* String */,
|
|
39736
|
+
contextId: 0 /* String */,
|
|
39737
|
+
});
|
|
40883
39738
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
40884
39739
|
if (untrustedIsObject$2(untrustedConfig_fields)) {
|
|
40885
39740
|
const untrustedConfig_fields_object = {};
|
|
@@ -41151,55 +40006,17 @@
|
|
|
41151
40006
|
}
|
|
41152
40007
|
function typeCheckConfig$b(untrustedConfig) {
|
|
41153
40008
|
const config = {};
|
|
41154
|
-
|
|
41155
|
-
|
|
41156
|
-
|
|
41157
|
-
|
|
41158
|
-
|
|
41159
|
-
|
|
41160
|
-
|
|
41161
|
-
|
|
41162
|
-
|
|
41163
|
-
|
|
41164
|
-
|
|
41165
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
41166
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
41167
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
41168
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
41169
|
-
}
|
|
41170
|
-
}
|
|
41171
|
-
config.fields = untrustedConfig_fields_array;
|
|
41172
|
-
}
|
|
41173
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
41174
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
41175
|
-
const untrustedConfig_optionalFields_array = [];
|
|
41176
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
41177
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
41178
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
41179
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
41180
|
-
}
|
|
41181
|
-
}
|
|
41182
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
41183
|
-
}
|
|
41184
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
41185
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
41186
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
41187
|
-
}
|
|
41188
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
41189
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
41190
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
41191
|
-
}
|
|
41192
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
41193
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
41194
|
-
const untrustedConfig_sortBy_array = [];
|
|
41195
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
41196
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
41197
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
41198
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
41199
|
-
}
|
|
41200
|
-
}
|
|
41201
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
41202
|
-
}
|
|
40009
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
40010
|
+
listViewApiName: 0 /* String */,
|
|
40011
|
+
objectApiName: 0 /* String */,
|
|
40012
|
+
pageSize: 3 /* Integer */,
|
|
40013
|
+
pageToken: 0 /* String */,
|
|
40014
|
+
});
|
|
40015
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
40016
|
+
fields: 0 /* String */,
|
|
40017
|
+
optionalFields: 0 /* String */,
|
|
40018
|
+
sortBy: 0 /* String */,
|
|
40019
|
+
});
|
|
41203
40020
|
return config;
|
|
41204
40021
|
}
|
|
41205
40022
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -41418,90 +40235,33 @@
|
|
|
41418
40235
|
}
|
|
41419
40236
|
|
|
41420
40237
|
function coerceConfig$5(config) {
|
|
41421
|
-
|
|
41422
|
-
|
|
41423
|
-
|
|
41424
|
-
|
|
41425
|
-
|
|
41426
|
-
|
|
41427
|
-
|
|
41428
|
-
|
|
41429
|
-
|
|
41430
|
-
|
|
41431
|
-
|
|
41432
|
-
coercedConfig.dependentFieldBindings = dependentFieldBindings;
|
|
41433
|
-
}
|
|
41434
|
-
const page = config.page;
|
|
41435
|
-
if (page !== undefined) {
|
|
41436
|
-
coercedConfig.page = page;
|
|
41437
|
-
}
|
|
41438
|
-
const pageSize = config.pageSize;
|
|
41439
|
-
if (pageSize !== undefined) {
|
|
41440
|
-
coercedConfig.pageSize = pageSize;
|
|
41441
|
-
}
|
|
41442
|
-
const q = config.q;
|
|
41443
|
-
if (q !== undefined) {
|
|
41444
|
-
coercedConfig.q = q;
|
|
41445
|
-
}
|
|
41446
|
-
const searchType = config.searchType;
|
|
41447
|
-
if (searchType !== undefined) {
|
|
41448
|
-
coercedConfig.searchType = searchType;
|
|
41449
|
-
}
|
|
41450
|
-
const sourceRecordId = config.sourceRecordId;
|
|
41451
|
-
if (sourceRecordId !== undefined) {
|
|
41452
|
-
coercedConfig.sourceRecordId = sourceRecordId;
|
|
41453
|
-
}
|
|
41454
|
-
const targetApiName = getObjectApiName$1(config.targetApiName);
|
|
41455
|
-
if (targetApiName !== undefined) {
|
|
41456
|
-
coercedConfig.targetApiName = targetApiName;
|
|
41457
|
-
}
|
|
41458
|
-
return coercedConfig;
|
|
40238
|
+
return coerceConfig$E(config, {
|
|
40239
|
+
'fieldApiName': getFieldApiName,
|
|
40240
|
+
'objectApiName': 1,
|
|
40241
|
+
'dependentFieldBindings': 1,
|
|
40242
|
+
'page': 1,
|
|
40243
|
+
'pageSize': 1,
|
|
40244
|
+
'q': 1,
|
|
40245
|
+
'searchType': 1,
|
|
40246
|
+
'sourceRecordId': 1,
|
|
40247
|
+
'targetApiName': getObjectApiName$1,
|
|
40248
|
+
});
|
|
41459
40249
|
}
|
|
41460
40250
|
function typeCheckConfig$a(untrustedConfig) {
|
|
41461
40251
|
const config = {};
|
|
41462
|
-
|
|
41463
|
-
|
|
41464
|
-
|
|
41465
|
-
|
|
41466
|
-
|
|
41467
|
-
|
|
41468
|
-
|
|
41469
|
-
|
|
41470
|
-
|
|
41471
|
-
|
|
41472
|
-
|
|
41473
|
-
|
|
41474
|
-
|
|
41475
|
-
if (typeof untrustedConfig_dependentFieldBindings_item === 'string') {
|
|
41476
|
-
untrustedConfig_dependentFieldBindings_array.push(untrustedConfig_dependentFieldBindings_item);
|
|
41477
|
-
}
|
|
41478
|
-
}
|
|
41479
|
-
config.dependentFieldBindings = untrustedConfig_dependentFieldBindings_array;
|
|
41480
|
-
}
|
|
41481
|
-
const untrustedConfig_page = untrustedConfig.page;
|
|
41482
|
-
if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
|
|
41483
|
-
config.page = untrustedConfig_page;
|
|
41484
|
-
}
|
|
41485
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
41486
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
41487
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
41488
|
-
}
|
|
41489
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
41490
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
41491
|
-
config.q = untrustedConfig_q;
|
|
41492
|
-
}
|
|
41493
|
-
const untrustedConfig_searchType = untrustedConfig.searchType;
|
|
41494
|
-
if (typeof untrustedConfig_searchType === 'string') {
|
|
41495
|
-
config.searchType = untrustedConfig_searchType;
|
|
41496
|
-
}
|
|
41497
|
-
const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
|
|
41498
|
-
if (typeof untrustedConfig_sourceRecordId === 'string') {
|
|
41499
|
-
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
41500
|
-
}
|
|
41501
|
-
const untrustedConfig_targetApiName = untrustedConfig.targetApiName;
|
|
41502
|
-
if (typeof untrustedConfig_targetApiName === 'string') {
|
|
41503
|
-
config.targetApiName = untrustedConfig_targetApiName;
|
|
41504
|
-
}
|
|
40252
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
40253
|
+
fieldApiName: 0 /* String */,
|
|
40254
|
+
objectApiName: 0 /* String */,
|
|
40255
|
+
page: 3 /* Integer */,
|
|
40256
|
+
pageSize: 3 /* Integer */,
|
|
40257
|
+
q: 0 /* String */,
|
|
40258
|
+
searchType: 0 /* String */,
|
|
40259
|
+
sourceRecordId: 0 /* String */,
|
|
40260
|
+
targetApiName: 0 /* String */,
|
|
40261
|
+
});
|
|
40262
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
40263
|
+
dependentFieldBindings: 0 /* String */,
|
|
40264
|
+
});
|
|
41505
40265
|
return config;
|
|
41506
40266
|
}
|
|
41507
40267
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -41705,30 +40465,14 @@
|
|
|
41705
40465
|
};
|
|
41706
40466
|
function typeCheckConfig$9(untrustedConfig) {
|
|
41707
40467
|
const config = {};
|
|
41708
|
-
|
|
41709
|
-
|
|
41710
|
-
|
|
41711
|
-
|
|
41712
|
-
|
|
41713
|
-
|
|
41714
|
-
|
|
41715
|
-
}
|
|
41716
|
-
const untrustedConfig_blueMasterId = untrustedConfig.blueMasterId;
|
|
41717
|
-
if (typeof untrustedConfig_blueMasterId === 'string') {
|
|
41718
|
-
config.blueMasterId = untrustedConfig_blueMasterId;
|
|
41719
|
-
}
|
|
41720
|
-
const untrustedConfig_externalId = untrustedConfig.externalId;
|
|
41721
|
-
if (typeof untrustedConfig_externalId === 'string') {
|
|
41722
|
-
config.externalId = untrustedConfig_externalId;
|
|
41723
|
-
}
|
|
41724
|
-
const untrustedConfig_photoUrl = untrustedConfig.photoUrl;
|
|
41725
|
-
if (typeof untrustedConfig_photoUrl === 'string') {
|
|
41726
|
-
config.photoUrl = untrustedConfig_photoUrl;
|
|
41727
|
-
}
|
|
41728
|
-
const untrustedConfig_profileName = untrustedConfig.profileName;
|
|
41729
|
-
if (typeof untrustedConfig_profileName === 'string') {
|
|
41730
|
-
config.profileName = untrustedConfig_profileName;
|
|
41731
|
-
}
|
|
40468
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
40469
|
+
recordId: 0 /* String */,
|
|
40470
|
+
actionType: 0 /* String */,
|
|
40471
|
+
blueMasterId: 0 /* String */,
|
|
40472
|
+
externalId: 0 /* String */,
|
|
40473
|
+
photoUrl: 0 /* String */,
|
|
40474
|
+
profileName: 0 /* String */,
|
|
40475
|
+
});
|
|
41732
40476
|
return config;
|
|
41733
40477
|
}
|
|
41734
40478
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -42124,50 +40868,23 @@
|
|
|
42124
40868
|
return resourceParams;
|
|
42125
40869
|
}
|
|
42126
40870
|
function coerceConfig$4(config) {
|
|
42127
|
-
|
|
42128
|
-
|
|
42129
|
-
|
|
42130
|
-
|
|
42131
|
-
|
|
42132
|
-
|
|
42133
|
-
if (formFactor !== undefined) {
|
|
42134
|
-
coercedConfig.formFactor = formFactor;
|
|
42135
|
-
}
|
|
42136
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
42137
|
-
if (optionalFields !== undefined) {
|
|
42138
|
-
coercedConfig.optionalFields = optionalFields;
|
|
42139
|
-
}
|
|
42140
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
42141
|
-
if (recordTypeId !== undefined) {
|
|
42142
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
42143
|
-
}
|
|
42144
|
-
return coercedConfig;
|
|
40871
|
+
return coerceConfig$E(config, {
|
|
40872
|
+
'objectApiName': getObjectApiName$1,
|
|
40873
|
+
'formFactor': coerceFormFactor,
|
|
40874
|
+
'optionalFields': getFieldApiNamesArray,
|
|
40875
|
+
'recordTypeId': getRecordId18,
|
|
40876
|
+
});
|
|
42145
40877
|
}
|
|
42146
40878
|
function typeCheckConfig$8(untrustedConfig) {
|
|
42147
40879
|
const config = {};
|
|
42148
|
-
|
|
42149
|
-
|
|
42150
|
-
|
|
42151
|
-
|
|
42152
|
-
|
|
42153
|
-
|
|
42154
|
-
|
|
42155
|
-
}
|
|
42156
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
42157
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
42158
|
-
const untrustedConfig_optionalFields_array = [];
|
|
42159
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
42160
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
42161
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
42162
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
42163
|
-
}
|
|
42164
|
-
}
|
|
42165
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
42166
|
-
}
|
|
42167
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
42168
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
42169
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
42170
|
-
}
|
|
40880
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
40881
|
+
objectApiName: 0 /* String */,
|
|
40882
|
+
formFactor: 0 /* String */,
|
|
40883
|
+
recordTypeId: 0 /* String */,
|
|
40884
|
+
});
|
|
40885
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
40886
|
+
optionalFields: 0 /* String */,
|
|
40887
|
+
});
|
|
42171
40888
|
return config;
|
|
42172
40889
|
}
|
|
42173
40890
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -42742,42 +41459,21 @@
|
|
|
42742
41459
|
return resourceParams;
|
|
42743
41460
|
}
|
|
42744
41461
|
function coerceConfig$3(config) {
|
|
42745
|
-
|
|
42746
|
-
|
|
42747
|
-
|
|
42748
|
-
|
|
42749
|
-
}
|
|
42750
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
42751
|
-
if (optionalFields !== undefined) {
|
|
42752
|
-
coercedConfig.optionalFields = optionalFields;
|
|
42753
|
-
}
|
|
42754
|
-
const recordTypeId = config.recordTypeId;
|
|
42755
|
-
if (recordTypeId !== undefined) {
|
|
42756
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
42757
|
-
}
|
|
42758
|
-
return coercedConfig;
|
|
41462
|
+
return coerceConfig$E(config, {
|
|
41463
|
+
'recordId': getRecordId18,
|
|
41464
|
+
'optionalFields': getFieldApiNamesArray,
|
|
41465
|
+
'recordTypeId': 1,
|
|
41466
|
+
});
|
|
42759
41467
|
}
|
|
42760
41468
|
function typeCheckConfig$7(untrustedConfig) {
|
|
42761
41469
|
const config = {};
|
|
42762
|
-
|
|
42763
|
-
|
|
42764
|
-
|
|
42765
|
-
}
|
|
42766
|
-
|
|
42767
|
-
|
|
42768
|
-
|
|
42769
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
42770
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
42771
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
42772
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
42773
|
-
}
|
|
42774
|
-
}
|
|
42775
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
42776
|
-
}
|
|
42777
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
42778
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
42779
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
42780
|
-
}
|
|
41470
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
41471
|
+
recordId: 0 /* String */,
|
|
41472
|
+
recordTypeId: 0 /* String */,
|
|
41473
|
+
});
|
|
41474
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
41475
|
+
optionalFields: 0 /* String */,
|
|
41476
|
+
});
|
|
42781
41477
|
return config;
|
|
42782
41478
|
}
|
|
42783
41479
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -43358,42 +42054,21 @@
|
|
|
43358
42054
|
return resourceParams;
|
|
43359
42055
|
}
|
|
43360
42056
|
function coerceConfig$2(config) {
|
|
43361
|
-
|
|
43362
|
-
|
|
43363
|
-
|
|
43364
|
-
|
|
43365
|
-
}
|
|
43366
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
43367
|
-
if (optionalFields !== undefined) {
|
|
43368
|
-
coercedConfig.optionalFields = optionalFields;
|
|
43369
|
-
}
|
|
43370
|
-
const recordTypeId = config.recordTypeId;
|
|
43371
|
-
if (recordTypeId !== undefined) {
|
|
43372
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
43373
|
-
}
|
|
43374
|
-
return coercedConfig;
|
|
42057
|
+
return coerceConfig$E(config, {
|
|
42058
|
+
'objectApiName': getObjectApiName$1,
|
|
42059
|
+
'optionalFields': getFieldApiNamesArray,
|
|
42060
|
+
'recordTypeId': 1,
|
|
42061
|
+
});
|
|
43375
42062
|
}
|
|
43376
42063
|
function typeCheckConfig$6(untrustedConfig) {
|
|
43377
42064
|
const config = {};
|
|
43378
|
-
|
|
43379
|
-
|
|
43380
|
-
|
|
43381
|
-
}
|
|
43382
|
-
|
|
43383
|
-
|
|
43384
|
-
|
|
43385
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
43386
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
43387
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
43388
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
43389
|
-
}
|
|
43390
|
-
}
|
|
43391
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
43392
|
-
}
|
|
43393
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
43394
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
43395
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
43396
|
-
}
|
|
42065
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
42066
|
+
objectApiName: 0 /* String */,
|
|
42067
|
+
recordTypeId: 0 /* String */,
|
|
42068
|
+
});
|
|
42069
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
42070
|
+
optionalFields: 0 /* String */,
|
|
42071
|
+
});
|
|
43397
42072
|
return config;
|
|
43398
42073
|
}
|
|
43399
42074
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -43700,19 +42375,15 @@
|
|
|
43700
42375
|
return resourceParams;
|
|
43701
42376
|
}
|
|
43702
42377
|
function coerceConfig$1(config) {
|
|
43703
|
-
|
|
43704
|
-
|
|
43705
|
-
|
|
43706
|
-
coercedConfig.recordId = recordId;
|
|
43707
|
-
}
|
|
43708
|
-
return coercedConfig;
|
|
42378
|
+
return coerceConfig$E(config, {
|
|
42379
|
+
'recordId': getRecordId18,
|
|
42380
|
+
});
|
|
43709
42381
|
}
|
|
43710
42382
|
function typeCheckConfig$5(untrustedConfig) {
|
|
43711
42383
|
const config = {};
|
|
43712
|
-
|
|
43713
|
-
|
|
43714
|
-
|
|
43715
|
-
}
|
|
42384
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
42385
|
+
recordId: 0 /* String */,
|
|
42386
|
+
});
|
|
43716
42387
|
return config;
|
|
43717
42388
|
}
|
|
43718
42389
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -43819,67 +42490,28 @@
|
|
|
43819
42490
|
return resourceParams;
|
|
43820
42491
|
}
|
|
43821
42492
|
function coerceConfig(config) {
|
|
43822
|
-
|
|
43823
|
-
|
|
43824
|
-
|
|
43825
|
-
|
|
43826
|
-
|
|
43827
|
-
|
|
43828
|
-
|
|
43829
|
-
|
|
43830
|
-
|
|
43831
|
-
|
|
43832
|
-
if (triggerUserEmail !== undefined) {
|
|
43833
|
-
coercedConfig.triggerUserEmail = triggerUserEmail;
|
|
43834
|
-
}
|
|
43835
|
-
const useDefaultRule = config.useDefaultRule;
|
|
43836
|
-
if (useDefaultRule !== undefined) {
|
|
43837
|
-
coercedConfig.useDefaultRule = useDefaultRule;
|
|
43838
|
-
}
|
|
43839
|
-
const allowSaveOnDuplicate = config.allowSaveOnDuplicate;
|
|
43840
|
-
if (allowSaveOnDuplicate !== undefined) {
|
|
43841
|
-
coercedConfig.allowSaveOnDuplicate = allowSaveOnDuplicate;
|
|
43842
|
-
}
|
|
43843
|
-
const apiName = config.apiName;
|
|
43844
|
-
if (apiName !== undefined) {
|
|
43845
|
-
coercedConfig.apiName = apiName;
|
|
43846
|
-
}
|
|
43847
|
-
const fields = config.fields;
|
|
43848
|
-
if (fields !== undefined) {
|
|
43849
|
-
coercedConfig.fields = fields;
|
|
43850
|
-
}
|
|
43851
|
-
const ifUnmodifiedSince = config.ifUnmodifiedSince;
|
|
43852
|
-
if (ifUnmodifiedSince !== undefined) {
|
|
43853
|
-
coercedConfig.ifUnmodifiedSince = ifUnmodifiedSince;
|
|
43854
|
-
}
|
|
43855
|
-
return coercedConfig;
|
|
42493
|
+
return coerceConfig$E(config, {
|
|
42494
|
+
'recordId': getRecordId18,
|
|
42495
|
+
'triggerOtherEmail': 1,
|
|
42496
|
+
'triggerUserEmail': 1,
|
|
42497
|
+
'useDefaultRule': 1,
|
|
42498
|
+
'allowSaveOnDuplicate': 1,
|
|
42499
|
+
'apiName': 1,
|
|
42500
|
+
'fields': 1,
|
|
42501
|
+
'ifUnmodifiedSince': 1,
|
|
42502
|
+
});
|
|
43856
42503
|
}
|
|
43857
42504
|
function typeCheckConfig$4(untrustedConfig) {
|
|
43858
42505
|
const config = {};
|
|
43859
|
-
|
|
43860
|
-
|
|
43861
|
-
|
|
43862
|
-
|
|
43863
|
-
|
|
43864
|
-
|
|
43865
|
-
|
|
43866
|
-
|
|
43867
|
-
|
|
43868
|
-
if (typeof untrustedConfig_triggerUserEmail === 'boolean') {
|
|
43869
|
-
config.triggerUserEmail = untrustedConfig_triggerUserEmail;
|
|
43870
|
-
}
|
|
43871
|
-
const untrustedConfig_useDefaultRule = untrustedConfig.useDefaultRule;
|
|
43872
|
-
if (typeof untrustedConfig_useDefaultRule === 'boolean') {
|
|
43873
|
-
config.useDefaultRule = untrustedConfig_useDefaultRule;
|
|
43874
|
-
}
|
|
43875
|
-
const untrustedConfig_allowSaveOnDuplicate = untrustedConfig.allowSaveOnDuplicate;
|
|
43876
|
-
if (typeof untrustedConfig_allowSaveOnDuplicate === 'boolean') {
|
|
43877
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
43878
|
-
}
|
|
43879
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
43880
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
43881
|
-
config.apiName = untrustedConfig_apiName;
|
|
43882
|
-
}
|
|
42506
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
42507
|
+
recordId: 0 /* String */,
|
|
42508
|
+
triggerOtherEmail: 1 /* Boolean */,
|
|
42509
|
+
triggerUserEmail: 1 /* Boolean */,
|
|
42510
|
+
useDefaultRule: 1 /* Boolean */,
|
|
42511
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
42512
|
+
apiName: 0 /* String */,
|
|
42513
|
+
ifUnmodifiedSince: 0 /* String */,
|
|
42514
|
+
});
|
|
43883
42515
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
43884
42516
|
if (untrustedIsObject$2(untrustedConfig_fields)) {
|
|
43885
42517
|
const untrustedConfig_fields_object = {};
|
|
@@ -43912,10 +42544,6 @@
|
|
|
43912
42544
|
config.fields = untrustedConfig_fields_object;
|
|
43913
42545
|
}
|
|
43914
42546
|
}
|
|
43915
|
-
const untrustedConfig_ifUnmodifiedSince = untrustedConfig.ifUnmodifiedSince;
|
|
43916
|
-
if (typeof untrustedConfig_ifUnmodifiedSince === 'string') {
|
|
43917
|
-
config.ifUnmodifiedSince = untrustedConfig_ifUnmodifiedSince;
|
|
43918
|
-
}
|
|
43919
42547
|
return config;
|
|
43920
42548
|
}
|
|
43921
42549
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -44312,14 +42940,10 @@
|
|
|
44312
42940
|
|
|
44313
42941
|
function typeCheckConfig$3(untrustedConfig) {
|
|
44314
42942
|
const config = {};
|
|
44315
|
-
|
|
44316
|
-
|
|
44317
|
-
|
|
44318
|
-
}
|
|
44319
|
-
const untrustedConfig_title = untrustedConfig.title;
|
|
44320
|
-
if (typeof untrustedConfig_title === 'string') {
|
|
44321
|
-
config.title = untrustedConfig_title;
|
|
44322
|
-
}
|
|
42943
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
42944
|
+
description: 0 /* String */,
|
|
42945
|
+
title: 0 /* String */,
|
|
42946
|
+
});
|
|
44323
42947
|
return config;
|
|
44324
42948
|
}
|
|
44325
42949
|
|
|
@@ -44389,18 +43013,11 @@
|
|
|
44389
43013
|
|
|
44390
43014
|
function typeCheckConfig$1$1(untrustedConfig) {
|
|
44391
43015
|
const config = {};
|
|
44392
|
-
|
|
44393
|
-
|
|
44394
|
-
|
|
44395
|
-
|
|
44396
|
-
|
|
44397
|
-
if (typeof untrustedConfig_description === 'string') {
|
|
44398
|
-
config.description = untrustedConfig_description;
|
|
44399
|
-
}
|
|
44400
|
-
const untrustedConfig_title = untrustedConfig.title;
|
|
44401
|
-
if (typeof untrustedConfig_title === 'string') {
|
|
44402
|
-
config.title = untrustedConfig_title;
|
|
44403
|
-
}
|
|
43016
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
43017
|
+
contentDocumentId: 0 /* String */,
|
|
43018
|
+
description: 0 /* String */,
|
|
43019
|
+
title: 0 /* String */,
|
|
43020
|
+
});
|
|
44404
43021
|
return config;
|
|
44405
43022
|
}
|
|
44406
43023
|
|
|
@@ -44945,7 +43562,7 @@
|
|
|
44945
43562
|
});
|
|
44946
43563
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory));
|
|
44947
43564
|
});
|
|
44948
|
-
// version: 1.
|
|
43565
|
+
// version: 1.208.0-027673bd6
|
|
44949
43566
|
|
|
44950
43567
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44951
43568
|
|
|
@@ -61186,7 +59803,7 @@
|
|
|
61186
59803
|
id: '@salesforce/lds-network-adapter',
|
|
61187
59804
|
instrument: instrument$1,
|
|
61188
59805
|
});
|
|
61189
|
-
// version: 1.
|
|
59806
|
+
// version: 1.208.0-75bd0667c
|
|
61190
59807
|
|
|
61191
59808
|
const { create: create$2, keys: keys$2 } = Object;
|
|
61192
59809
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -78529,7 +77146,7 @@
|
|
|
78529
77146
|
configuration: { ...configurationForGraphQLAdapters },
|
|
78530
77147
|
instrument,
|
|
78531
77148
|
});
|
|
78532
|
-
// version: 1.
|
|
77149
|
+
// version: 1.208.0-027673bd6
|
|
78533
77150
|
|
|
78534
77151
|
// On core the unstable adapters are re-exported with different names,
|
|
78535
77152
|
|
|
@@ -80776,7 +79393,7 @@
|
|
|
80776
79393
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
80777
79394
|
graphQLImperative = ldsAdapter;
|
|
80778
79395
|
});
|
|
80779
|
-
// version: 1.
|
|
79396
|
+
// version: 1.208.0-027673bd6
|
|
80780
79397
|
|
|
80781
79398
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
80782
79399
|
__proto__: null,
|
|
@@ -81482,4 +80099,4 @@
|
|
|
81482
80099
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
81483
80100
|
|
|
81484
80101
|
}));
|
|
81485
|
-
// version: 1.
|
|
80102
|
+
// version: 1.208.0-75bd0667c
|