@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
|
@@ -3672,7 +3672,70 @@ class Luvio {
|
|
|
3672
3672
|
return this.environment.buildStructuredKey(namespace, representationName, idValues);
|
|
3673
3673
|
}
|
|
3674
3674
|
}
|
|
3675
|
-
|
|
3675
|
+
|
|
3676
|
+
var ScalarTypes$1;
|
|
3677
|
+
(function (ScalarTypes) {
|
|
3678
|
+
ScalarTypes[ScalarTypes["String"] = 0] = "String";
|
|
3679
|
+
ScalarTypes[ScalarTypes["Boolean"] = 1] = "Boolean";
|
|
3680
|
+
ScalarTypes[ScalarTypes["Number"] = 2] = "Number";
|
|
3681
|
+
ScalarTypes[ScalarTypes["Integer"] = 3] = "Integer";
|
|
3682
|
+
})(ScalarTypes$1 || (ScalarTypes$1 = {}));
|
|
3683
|
+
function isCorrectScalarType(value, type) {
|
|
3684
|
+
switch (type) {
|
|
3685
|
+
case ScalarTypes$1.String:
|
|
3686
|
+
return typeof value === 'string';
|
|
3687
|
+
case ScalarTypes$1.Boolean:
|
|
3688
|
+
return typeof value === 'boolean';
|
|
3689
|
+
case ScalarTypes$1.Number:
|
|
3690
|
+
return typeof value === 'number';
|
|
3691
|
+
case ScalarTypes$1.Integer:
|
|
3692
|
+
return typeof value === 'number' && Math.floor(value) === value;
|
|
3693
|
+
default:
|
|
3694
|
+
return false;
|
|
3695
|
+
}
|
|
3696
|
+
}
|
|
3697
|
+
function typeCheckScalars(untrustedConfig, config, scalars) {
|
|
3698
|
+
const paramNames = Object.keys(scalars);
|
|
3699
|
+
for (const paramName of paramNames) {
|
|
3700
|
+
const value = scalars[paramName];
|
|
3701
|
+
const untrustedConfig_field = untrustedConfig[paramName];
|
|
3702
|
+
if (isCorrectScalarType(untrustedConfig_field, value)) {
|
|
3703
|
+
config[paramName] = untrustedConfig_field;
|
|
3704
|
+
}
|
|
3705
|
+
}
|
|
3706
|
+
}
|
|
3707
|
+
function typeCheckArrayOfScalars(untrustedConfig, config, scalars) {
|
|
3708
|
+
const paramNames = Object.keys(scalars);
|
|
3709
|
+
for (const paramName of paramNames) {
|
|
3710
|
+
const value = scalars[paramName];
|
|
3711
|
+
const untrustedConfig_field = untrustedConfig[paramName];
|
|
3712
|
+
if (isArray$9(untrustedConfig_field)) {
|
|
3713
|
+
const untrustedConfig_field_array = [];
|
|
3714
|
+
for (let i = 0, arrayLength = untrustedConfig_field.length; i < arrayLength; i++) {
|
|
3715
|
+
const untrustedConfig_field_item = untrustedConfig_field[i];
|
|
3716
|
+
if (isCorrectScalarType(untrustedConfig_field_item, value)) {
|
|
3717
|
+
untrustedConfig_field_array.push(untrustedConfig_field_item);
|
|
3718
|
+
}
|
|
3719
|
+
}
|
|
3720
|
+
config[paramName] = untrustedConfig_field_array;
|
|
3721
|
+
}
|
|
3722
|
+
}
|
|
3723
|
+
}
|
|
3724
|
+
function coerceConfig$E(uncoercedConfig, parametersBag) {
|
|
3725
|
+
const config = {};
|
|
3726
|
+
const paramNames = Object.keys(parametersBag);
|
|
3727
|
+
for (const paramName of paramNames) {
|
|
3728
|
+
const paramValue = parametersBag[paramName];
|
|
3729
|
+
const value = typeof paramValue === 'function'
|
|
3730
|
+
? paramValue(uncoercedConfig[paramName])
|
|
3731
|
+
: uncoercedConfig[paramName];
|
|
3732
|
+
if (value !== undefined) {
|
|
3733
|
+
config[paramName] = value;
|
|
3734
|
+
}
|
|
3735
|
+
}
|
|
3736
|
+
return config;
|
|
3737
|
+
}
|
|
3738
|
+
// engine version: 0.144.2-0928b9a8
|
|
3676
3739
|
|
|
3677
3740
|
/**
|
|
3678
3741
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -3799,7 +3862,7 @@ function withDefaultLuvio(callback) {
|
|
|
3799
3862
|
}
|
|
3800
3863
|
callbacks.push(callback);
|
|
3801
3864
|
}
|
|
3802
|
-
// version: 1.
|
|
3865
|
+
// version: 1.208.0-75bd0667c
|
|
3803
3866
|
|
|
3804
3867
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3805
3868
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15232,7 +15295,7 @@ function parseAndVisit(source) {
|
|
|
15232
15295
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15233
15296
|
return luvioDocumentNode;
|
|
15234
15297
|
}
|
|
15235
|
-
// version: 1.
|
|
15298
|
+
// version: 1.208.0-75bd0667c
|
|
15236
15299
|
|
|
15237
15300
|
function unwrap(data) {
|
|
15238
15301
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -15419,7 +15482,7 @@ class LWCLuvioWireAdapter {
|
|
|
15419
15482
|
*
|
|
15420
15483
|
* @param callback callback to be invoked with new values
|
|
15421
15484
|
*/
|
|
15422
|
-
constructor(adapter, name, luvio, callback) {
|
|
15485
|
+
constructor(adapter, name, luvio, callback, sourceContext) {
|
|
15423
15486
|
// a component can be connected-disconnected-reconnected multiple times during its
|
|
15424
15487
|
// life but we only want to keep subscriptions active while it is connected; the
|
|
15425
15488
|
// connect/disconnect methods below keep this value updated to reflect the current
|
|
@@ -15429,6 +15492,7 @@ class LWCLuvioWireAdapter {
|
|
|
15429
15492
|
this.name = name;
|
|
15430
15493
|
this.luvio = luvio;
|
|
15431
15494
|
this.callback = callback;
|
|
15495
|
+
this.sourceContext = sourceContext;
|
|
15432
15496
|
// initialize the wired property with a properly shaped object so cmps can use <template if:true={wiredProperty.data}>
|
|
15433
15497
|
this.emit();
|
|
15434
15498
|
}
|
|
@@ -15438,7 +15502,7 @@ class LWCLuvioWireAdapter {
|
|
|
15438
15502
|
*/
|
|
15439
15503
|
connect() {
|
|
15440
15504
|
this.connected = true;
|
|
15441
|
-
this.callAdapter();
|
|
15505
|
+
this.callAdapter(this.generateAdapterRequestContext());
|
|
15442
15506
|
}
|
|
15443
15507
|
/**
|
|
15444
15508
|
* Called when the component associated with the wire adapter is disconnected.
|
|
@@ -15453,20 +15517,31 @@ class LWCLuvioWireAdapter {
|
|
|
15453
15517
|
* @param config new config parameters for the wire adapter
|
|
15454
15518
|
* @param _context not used
|
|
15455
15519
|
*/
|
|
15456
|
-
update(config,
|
|
15520
|
+
update(config, context) {
|
|
15457
15521
|
this.unsubscribe();
|
|
15458
15522
|
this.config = sanitize(config);
|
|
15459
|
-
this.callAdapter();
|
|
15523
|
+
this.callAdapter(this.generateAdapterRequestContext(context));
|
|
15460
15524
|
}
|
|
15461
15525
|
// private and protected utility methods
|
|
15526
|
+
/**
|
|
15527
|
+
* Accepts a WireContext and generates corresponding AdapterRequestContext
|
|
15528
|
+
*/
|
|
15529
|
+
generateAdapterRequestContext(_context) {
|
|
15530
|
+
if (!this.sourceContext) {
|
|
15531
|
+
return {};
|
|
15532
|
+
}
|
|
15533
|
+
return {
|
|
15534
|
+
sourceContext: { ...this.sourceContext },
|
|
15535
|
+
};
|
|
15536
|
+
}
|
|
15462
15537
|
/**
|
|
15463
15538
|
* Calls the adapter if config has been set and the component is connected.
|
|
15464
15539
|
*/
|
|
15465
|
-
callAdapter() {
|
|
15540
|
+
callAdapter(context) {
|
|
15466
15541
|
if (!this.connected || this.config === undefined) {
|
|
15467
15542
|
return;
|
|
15468
15543
|
}
|
|
15469
|
-
const snapshotOrPromise = this.adapter(this.config);
|
|
15544
|
+
const snapshotOrPromise = this.adapter(this.config, context);
|
|
15470
15545
|
this.processAdapterResponse(snapshotOrPromise);
|
|
15471
15546
|
}
|
|
15472
15547
|
processAdapterResponse(snapshotOrPromise) {
|
|
@@ -15572,8 +15647,8 @@ class LWCLuvioWireAdapter {
|
|
|
15572
15647
|
* @param luvio Luvio
|
|
15573
15648
|
*/
|
|
15574
15649
|
function createWireAdapterConstructor$1(adapter, name, luvio) {
|
|
15575
|
-
const constructor = function (callback) {
|
|
15576
|
-
const delegate = new LWCLuvioWireAdapter(adapter, name, luvio, callback);
|
|
15650
|
+
const constructor = function (callback, sourceContext) {
|
|
15651
|
+
const delegate = new LWCLuvioWireAdapter(adapter, name, luvio, callback, sourceContext);
|
|
15577
15652
|
this.connect = () => delegate.connect();
|
|
15578
15653
|
this.disconnect = () => delegate.disconnect();
|
|
15579
15654
|
this.update = (config, context) => delegate.update(config, context);
|
|
@@ -15605,34 +15680,32 @@ class LWCInfinteScrollingLuvioWireAdapter extends LWCLuvioWireAdapter {
|
|
|
15605
15680
|
*/
|
|
15606
15681
|
update(config, context) {
|
|
15607
15682
|
if (this.connectTimestamp) {
|
|
15608
|
-
const
|
|
15609
|
-
cachePolicy: {
|
|
15610
|
-
type: 'valid-at',
|
|
15611
|
-
timestamp: this.connectTimestamp,
|
|
15612
|
-
},
|
|
15613
|
-
}, context);
|
|
15683
|
+
const adapterRequestContext = this.generateAdapterRequestContext(context);
|
|
15614
15684
|
super.unsubscribe();
|
|
15615
15685
|
this.config = sanitize(config);
|
|
15616
|
-
this.callAdapterWithContext(mergedContext);
|
|
15686
|
+
// this.callAdapterWithContext(mergedContext);
|
|
15687
|
+
super.callAdapter(adapterRequestContext);
|
|
15617
15688
|
}
|
|
15618
15689
|
else {
|
|
15619
15690
|
super.update(config, context);
|
|
15620
15691
|
}
|
|
15621
15692
|
}
|
|
15622
|
-
|
|
15623
|
-
|
|
15624
|
-
|
|
15625
|
-
|
|
15626
|
-
|
|
15627
|
-
|
|
15628
|
-
|
|
15629
|
-
|
|
15630
|
-
|
|
15693
|
+
generateAdapterRequestContext(context) {
|
|
15694
|
+
const baseContext = super.generateAdapterRequestContext(context);
|
|
15695
|
+
// this code-path is only called when the wire adapter is connected
|
|
15696
|
+
// and the connectTimestamp is set
|
|
15697
|
+
return {
|
|
15698
|
+
...baseContext,
|
|
15699
|
+
cachePolicy: {
|
|
15700
|
+
type: 'valid-at',
|
|
15701
|
+
timestamp: this.connectTimestamp,
|
|
15702
|
+
},
|
|
15703
|
+
};
|
|
15631
15704
|
}
|
|
15632
15705
|
}
|
|
15633
15706
|
function createInfiniteScrollingWireAdapterConstructor$1(adapter, name, luvio) {
|
|
15634
|
-
const constructor = function (callback) {
|
|
15635
|
-
const delegate = new LWCInfinteScrollingLuvioWireAdapter(adapter, name, luvio, callback);
|
|
15707
|
+
const constructor = function (callback, sourceContext) {
|
|
15708
|
+
const delegate = new LWCInfinteScrollingLuvioWireAdapter(adapter, name, luvio, callback, sourceContext);
|
|
15636
15709
|
this.connect = () => delegate.connect();
|
|
15637
15710
|
this.disconnect = () => delegate.disconnect();
|
|
15638
15711
|
this.update = (config, context) => delegate.update(config, context);
|
|
@@ -15662,11 +15735,11 @@ function snapshotToPayload(snapshot) {
|
|
|
15662
15735
|
return payload;
|
|
15663
15736
|
}
|
|
15664
15737
|
class LWCGraphQLLuvioWireAdapter extends LWCLuvioWireAdapter {
|
|
15665
|
-
constructor(adapter, name, luvio, astResolver, callback) {
|
|
15666
|
-
super(adapter, name, luvio, callback);
|
|
15738
|
+
constructor(adapter, name, luvio, astResolver, callback, sourceContext) {
|
|
15739
|
+
super(adapter, name, luvio, callback, sourceContext);
|
|
15667
15740
|
this.astResolver = astResolver;
|
|
15668
15741
|
}
|
|
15669
|
-
update(config,
|
|
15742
|
+
update(config, context) {
|
|
15670
15743
|
this.unsubscribe();
|
|
15671
15744
|
if (config.batchQuery) {
|
|
15672
15745
|
this.config = {
|
|
@@ -15676,7 +15749,7 @@ class LWCGraphQLLuvioWireAdapter extends LWCLuvioWireAdapter {
|
|
|
15676
15749
|
else {
|
|
15677
15750
|
this.config = safeSanitizeGraphQLConfigObject(config);
|
|
15678
15751
|
}
|
|
15679
|
-
this.callAdapter();
|
|
15752
|
+
this.callAdapter(super.generateAdapterRequestContext(context));
|
|
15680
15753
|
}
|
|
15681
15754
|
/**
|
|
15682
15755
|
* Emits new values to the callback.
|
|
@@ -15698,7 +15771,7 @@ class LWCGraphQLLuvioWireAdapter extends LWCLuvioWireAdapter {
|
|
|
15698
15771
|
/**
|
|
15699
15772
|
* Coerce config before calling the adapter, preserve current behavior otherwise
|
|
15700
15773
|
*/
|
|
15701
|
-
callAdapter() {
|
|
15774
|
+
callAdapter(context) {
|
|
15702
15775
|
if (!this.connected || this.config === undefined) {
|
|
15703
15776
|
return;
|
|
15704
15777
|
}
|
|
@@ -15711,13 +15784,13 @@ class LWCGraphQLLuvioWireAdapter extends LWCLuvioWireAdapter {
|
|
|
15711
15784
|
if (batchConfig.batchQuery.some((val) => val === undefined)) {
|
|
15712
15785
|
return;
|
|
15713
15786
|
}
|
|
15714
|
-
const snapshotOrPromise = this.adapter(batchConfig);
|
|
15787
|
+
const snapshotOrPromise = this.adapter(batchConfig, context);
|
|
15715
15788
|
this.processAdapterResponse(snapshotOrPromise);
|
|
15716
15789
|
}
|
|
15717
15790
|
else if ('query' in config) {
|
|
15718
15791
|
const singleConfig = this.resolveQueryAst(config);
|
|
15719
15792
|
if (singleConfig !== undefined) {
|
|
15720
|
-
const snapshotOrPromise = this.adapter(singleConfig);
|
|
15793
|
+
const snapshotOrPromise = this.adapter(singleConfig, context);
|
|
15721
15794
|
this.processAdapterResponse(snapshotOrPromise);
|
|
15722
15795
|
}
|
|
15723
15796
|
}
|
|
@@ -15755,8 +15828,8 @@ function extractSnapshotData(snapshot) {
|
|
|
15755
15828
|
* @param luvio Luvio
|
|
15756
15829
|
*/
|
|
15757
15830
|
function createGraphQLWireAdapterConstructor$1(adapter, name, luvio, astResolver) {
|
|
15758
|
-
const constructor = function (callback) {
|
|
15759
|
-
const delegate = new LWCGraphQLLuvioWireAdapter(adapter, name, luvio, astResolver, callback);
|
|
15831
|
+
const constructor = function (callback, sourceContext) {
|
|
15832
|
+
const delegate = new LWCGraphQLLuvioWireAdapter(adapter, name, luvio, astResolver, callback, sourceContext);
|
|
15760
15833
|
this.connect = () => delegate.connect();
|
|
15761
15834
|
this.disconnect = () => delegate.disconnect();
|
|
15762
15835
|
this.update = (config, context) => delegate.update(config, context);
|
|
@@ -16145,7 +16218,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16145
16218
|
const { apiFamily, name } = metadata;
|
|
16146
16219
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16147
16220
|
}
|
|
16148
|
-
// version: 1.
|
|
16221
|
+
// version: 1.208.0-75bd0667c
|
|
16149
16222
|
|
|
16150
16223
|
/**
|
|
16151
16224
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16228,7 +16301,15 @@ var FragmentReadResultState;
|
|
|
16228
16301
|
({
|
|
16229
16302
|
state: FragmentReadResultState.Missing,
|
|
16230
16303
|
});
|
|
16231
|
-
|
|
16304
|
+
|
|
16305
|
+
var ScalarTypes;
|
|
16306
|
+
(function (ScalarTypes) {
|
|
16307
|
+
ScalarTypes[ScalarTypes["String"] = 0] = "String";
|
|
16308
|
+
ScalarTypes[ScalarTypes["Boolean"] = 1] = "Boolean";
|
|
16309
|
+
ScalarTypes[ScalarTypes["Number"] = 2] = "Number";
|
|
16310
|
+
ScalarTypes[ScalarTypes["Integer"] = 3] = "Integer";
|
|
16311
|
+
})(ScalarTypes || (ScalarTypes = {}));
|
|
16312
|
+
// engine version: 0.144.2-0928b9a8
|
|
16232
16313
|
|
|
16233
16314
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16234
16315
|
|
|
@@ -20312,125 +20393,33 @@ function createResourceParams$V(config) {
|
|
|
20312
20393
|
return resourceParams;
|
|
20313
20394
|
}
|
|
20314
20395
|
function coerceConfig$D(config) {
|
|
20315
|
-
|
|
20316
|
-
|
|
20317
|
-
|
|
20318
|
-
|
|
20319
|
-
|
|
20320
|
-
|
|
20321
|
-
|
|
20322
|
-
|
|
20323
|
-
|
|
20324
|
-
|
|
20325
|
-
|
|
20326
|
-
coercedConfig.fields = fields;
|
|
20327
|
-
}
|
|
20328
|
-
const forms = config.forms;
|
|
20329
|
-
if (forms !== undefined) {
|
|
20330
|
-
coercedConfig.forms = forms;
|
|
20331
|
-
}
|
|
20332
|
-
const layoutTypes = toSortedStringArray(config.layoutTypes);
|
|
20333
|
-
if (layoutTypes !== undefined) {
|
|
20334
|
-
coercedConfig.layoutTypes = layoutTypes;
|
|
20335
|
-
}
|
|
20336
|
-
const modes = toSortedStringArray(config.modes);
|
|
20337
|
-
if (modes !== undefined) {
|
|
20338
|
-
coercedConfig.modes = modes;
|
|
20339
|
-
}
|
|
20340
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
20341
|
-
if (optionalFields !== undefined) {
|
|
20342
|
-
coercedConfig.optionalFields = optionalFields;
|
|
20343
|
-
}
|
|
20344
|
-
const pageSize = config.pageSize;
|
|
20345
|
-
if (pageSize !== undefined) {
|
|
20346
|
-
coercedConfig.pageSize = pageSize;
|
|
20347
|
-
}
|
|
20348
|
-
const updateMru = config.updateMru;
|
|
20349
|
-
if (updateMru !== undefined) {
|
|
20350
|
-
coercedConfig.updateMru = updateMru;
|
|
20351
|
-
}
|
|
20352
|
-
return coercedConfig;
|
|
20396
|
+
return coerceConfig$E(config, {
|
|
20397
|
+
'recordId': getRecordId18,
|
|
20398
|
+
'childRelationships': 1,
|
|
20399
|
+
'fields': getFieldApiNamesArray,
|
|
20400
|
+
'forms': 1,
|
|
20401
|
+
'layoutTypes': toSortedStringArray,
|
|
20402
|
+
'modes': toSortedStringArray,
|
|
20403
|
+
'optionalFields': getFieldApiNamesArray,
|
|
20404
|
+
'pageSize': 1,
|
|
20405
|
+
'updateMru': 1,
|
|
20406
|
+
});
|
|
20353
20407
|
}
|
|
20354
20408
|
function typeCheckConfig$$(untrustedConfig) {
|
|
20355
20409
|
const config = {};
|
|
20356
|
-
|
|
20357
|
-
|
|
20358
|
-
|
|
20359
|
-
|
|
20360
|
-
|
|
20361
|
-
|
|
20362
|
-
|
|
20363
|
-
|
|
20364
|
-
|
|
20365
|
-
|
|
20366
|
-
|
|
20367
|
-
|
|
20368
|
-
|
|
20369
|
-
config.childRelationships = untrustedConfig_childRelationships_array;
|
|
20370
|
-
}
|
|
20371
|
-
const untrustedConfig_fields = untrustedConfig.fields;
|
|
20372
|
-
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
20373
|
-
const untrustedConfig_fields_array = [];
|
|
20374
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
20375
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
20376
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
20377
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
20378
|
-
}
|
|
20379
|
-
}
|
|
20380
|
-
config.fields = untrustedConfig_fields_array;
|
|
20381
|
-
}
|
|
20382
|
-
const untrustedConfig_forms = untrustedConfig.forms;
|
|
20383
|
-
if (ArrayIsArray$1(untrustedConfig_forms)) {
|
|
20384
|
-
const untrustedConfig_forms_array = [];
|
|
20385
|
-
for (let i = 0, arrayLength = untrustedConfig_forms.length; i < arrayLength; i++) {
|
|
20386
|
-
const untrustedConfig_forms_item = untrustedConfig_forms[i];
|
|
20387
|
-
if (typeof untrustedConfig_forms_item === 'string') {
|
|
20388
|
-
untrustedConfig_forms_array.push(untrustedConfig_forms_item);
|
|
20389
|
-
}
|
|
20390
|
-
}
|
|
20391
|
-
config.forms = untrustedConfig_forms_array;
|
|
20392
|
-
}
|
|
20393
|
-
const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
|
|
20394
|
-
if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
|
|
20395
|
-
const untrustedConfig_layoutTypes_array = [];
|
|
20396
|
-
for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
|
|
20397
|
-
const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
|
|
20398
|
-
if (typeof untrustedConfig_layoutTypes_item === 'string') {
|
|
20399
|
-
untrustedConfig_layoutTypes_array.push(untrustedConfig_layoutTypes_item);
|
|
20400
|
-
}
|
|
20401
|
-
}
|
|
20402
|
-
config.layoutTypes = untrustedConfig_layoutTypes_array;
|
|
20403
|
-
}
|
|
20404
|
-
const untrustedConfig_modes = untrustedConfig.modes;
|
|
20405
|
-
if (ArrayIsArray$1(untrustedConfig_modes)) {
|
|
20406
|
-
const untrustedConfig_modes_array = [];
|
|
20407
|
-
for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
|
|
20408
|
-
const untrustedConfig_modes_item = untrustedConfig_modes[i];
|
|
20409
|
-
if (typeof untrustedConfig_modes_item === 'string') {
|
|
20410
|
-
untrustedConfig_modes_array.push(untrustedConfig_modes_item);
|
|
20411
|
-
}
|
|
20412
|
-
}
|
|
20413
|
-
config.modes = untrustedConfig_modes_array;
|
|
20414
|
-
}
|
|
20415
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
20416
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
20417
|
-
const untrustedConfig_optionalFields_array = [];
|
|
20418
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
20419
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
20420
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
20421
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
20422
|
-
}
|
|
20423
|
-
}
|
|
20424
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
20425
|
-
}
|
|
20426
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
20427
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
20428
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
20429
|
-
}
|
|
20430
|
-
const untrustedConfig_updateMru = untrustedConfig.updateMru;
|
|
20431
|
-
if (typeof untrustedConfig_updateMru === 'boolean') {
|
|
20432
|
-
config.updateMru = untrustedConfig_updateMru;
|
|
20433
|
-
}
|
|
20410
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
20411
|
+
recordId: 0 /* String */,
|
|
20412
|
+
pageSize: 3 /* Integer */,
|
|
20413
|
+
updateMru: 1 /* Boolean */,
|
|
20414
|
+
});
|
|
20415
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
20416
|
+
childRelationships: 0 /* String */,
|
|
20417
|
+
fields: 0 /* String */,
|
|
20418
|
+
forms: 0 /* String */,
|
|
20419
|
+
layoutTypes: 0 /* String */,
|
|
20420
|
+
modes: 0 /* String */,
|
|
20421
|
+
optionalFields: 0 /* String */,
|
|
20422
|
+
});
|
|
20434
20423
|
return config;
|
|
20435
20424
|
}
|
|
20436
20425
|
function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
@@ -21683,88 +21672,29 @@ function createResourceParams$T(config) {
|
|
|
21683
21672
|
return resourceParams;
|
|
21684
21673
|
}
|
|
21685
21674
|
function coerceConfig$C(config) {
|
|
21686
|
-
|
|
21687
|
-
|
|
21688
|
-
|
|
21689
|
-
|
|
21690
|
-
|
|
21691
|
-
|
|
21692
|
-
|
|
21693
|
-
|
|
21694
|
-
}
|
|
21695
|
-
const fields = getFieldApiNamesArray(config.fields);
|
|
21696
|
-
if (fields !== undefined) {
|
|
21697
|
-
coercedConfig.fields = fields;
|
|
21698
|
-
}
|
|
21699
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
21700
|
-
if (optionalFields !== undefined) {
|
|
21701
|
-
coercedConfig.optionalFields = optionalFields;
|
|
21702
|
-
}
|
|
21703
|
-
const pageSize = config.pageSize;
|
|
21704
|
-
if (pageSize !== undefined) {
|
|
21705
|
-
coercedConfig.pageSize = pageSize;
|
|
21706
|
-
}
|
|
21707
|
-
const pageToken = config.pageToken;
|
|
21708
|
-
if (pageToken !== undefined) {
|
|
21709
|
-
coercedConfig.pageToken = pageToken;
|
|
21710
|
-
}
|
|
21711
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
21712
|
-
if (sortBy !== undefined) {
|
|
21713
|
-
coercedConfig.sortBy = sortBy;
|
|
21714
|
-
}
|
|
21715
|
-
return coercedConfig;
|
|
21675
|
+
return coerceConfig$E(config, {
|
|
21676
|
+
'listViewApiName': 1,
|
|
21677
|
+
'objectApiName': getObjectApiName$1,
|
|
21678
|
+
'fields': getFieldApiNamesArray,
|
|
21679
|
+
'optionalFields': getFieldApiNamesArray,
|
|
21680
|
+
'pageSize': 1,
|
|
21681
|
+
'pageToken': 1,
|
|
21682
|
+
'sortBy': getFieldApiNamesArray,
|
|
21683
|
+
});
|
|
21716
21684
|
}
|
|
21717
21685
|
function typeCheckConfig$_(untrustedConfig) {
|
|
21718
21686
|
const config = {};
|
|
21719
|
-
|
|
21720
|
-
|
|
21721
|
-
|
|
21722
|
-
|
|
21723
|
-
|
|
21724
|
-
|
|
21725
|
-
|
|
21726
|
-
|
|
21727
|
-
|
|
21728
|
-
|
|
21729
|
-
|
|
21730
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
21731
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
21732
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
21733
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
21734
|
-
}
|
|
21735
|
-
}
|
|
21736
|
-
config.fields = untrustedConfig_fields_array;
|
|
21737
|
-
}
|
|
21738
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
21739
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
21740
|
-
const untrustedConfig_optionalFields_array = [];
|
|
21741
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
21742
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
21743
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
21744
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
21745
|
-
}
|
|
21746
|
-
}
|
|
21747
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
21748
|
-
}
|
|
21749
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
21750
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
21751
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
21752
|
-
}
|
|
21753
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
21754
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
21755
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
21756
|
-
}
|
|
21757
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
21758
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
21759
|
-
const untrustedConfig_sortBy_array = [];
|
|
21760
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
21761
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
21762
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
21763
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
21764
|
-
}
|
|
21765
|
-
}
|
|
21766
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
21767
|
-
}
|
|
21687
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
21688
|
+
listViewApiName: 0 /* String */,
|
|
21689
|
+
objectApiName: 0 /* String */,
|
|
21690
|
+
pageSize: 3 /* Integer */,
|
|
21691
|
+
pageToken: 0 /* String */,
|
|
21692
|
+
});
|
|
21693
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
21694
|
+
fields: 0 /* String */,
|
|
21695
|
+
optionalFields: 0 /* String */,
|
|
21696
|
+
sortBy: 0 /* String */,
|
|
21697
|
+
});
|
|
21768
21698
|
return config;
|
|
21769
21699
|
}
|
|
21770
21700
|
function validateAdapterConfig$$(untrustedConfig, configPropertyNames) {
|
|
@@ -21819,80 +21749,27 @@ function createResourceParams$S(config) {
|
|
|
21819
21749
|
return resourceParams;
|
|
21820
21750
|
}
|
|
21821
21751
|
function coerceConfig$B(config) {
|
|
21822
|
-
|
|
21823
|
-
|
|
21824
|
-
|
|
21825
|
-
|
|
21826
|
-
|
|
21827
|
-
|
|
21828
|
-
|
|
21829
|
-
|
|
21830
|
-
}
|
|
21831
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
21832
|
-
if (optionalFields !== undefined) {
|
|
21833
|
-
coercedConfig.optionalFields = optionalFields;
|
|
21834
|
-
}
|
|
21835
|
-
const pageSize = config.pageSize;
|
|
21836
|
-
if (pageSize !== undefined) {
|
|
21837
|
-
coercedConfig.pageSize = pageSize;
|
|
21838
|
-
}
|
|
21839
|
-
const pageToken = config.pageToken;
|
|
21840
|
-
if (pageToken !== undefined) {
|
|
21841
|
-
coercedConfig.pageToken = pageToken;
|
|
21842
|
-
}
|
|
21843
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
21844
|
-
if (sortBy !== undefined) {
|
|
21845
|
-
coercedConfig.sortBy = sortBy;
|
|
21846
|
-
}
|
|
21847
|
-
return coercedConfig;
|
|
21752
|
+
return coerceConfig$E(config, {
|
|
21753
|
+
'listViewId': 1,
|
|
21754
|
+
'fields': getFieldApiNamesArray,
|
|
21755
|
+
'optionalFields': getFieldApiNamesArray,
|
|
21756
|
+
'pageSize': 1,
|
|
21757
|
+
'pageToken': 1,
|
|
21758
|
+
'sortBy': getFieldApiNamesArray,
|
|
21759
|
+
});
|
|
21848
21760
|
}
|
|
21849
21761
|
function typeCheckConfig$Z(untrustedConfig) {
|
|
21850
21762
|
const config = {};
|
|
21851
|
-
|
|
21852
|
-
|
|
21853
|
-
|
|
21854
|
-
|
|
21855
|
-
|
|
21856
|
-
|
|
21857
|
-
|
|
21858
|
-
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
21862
|
-
}
|
|
21863
|
-
}
|
|
21864
|
-
config.fields = untrustedConfig_fields_array;
|
|
21865
|
-
}
|
|
21866
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
21867
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
21868
|
-
const untrustedConfig_optionalFields_array = [];
|
|
21869
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
21870
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
21871
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
21872
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
21873
|
-
}
|
|
21874
|
-
}
|
|
21875
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
21876
|
-
}
|
|
21877
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
21878
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
21879
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
21880
|
-
}
|
|
21881
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
21882
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
21883
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
21884
|
-
}
|
|
21885
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
21886
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
21887
|
-
const untrustedConfig_sortBy_array = [];
|
|
21888
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
21889
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
21890
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
21891
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
21892
|
-
}
|
|
21893
|
-
}
|
|
21894
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
21895
|
-
}
|
|
21763
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
21764
|
+
listViewId: 0 /* String */,
|
|
21765
|
+
pageSize: 3 /* Integer */,
|
|
21766
|
+
pageToken: 0 /* String */,
|
|
21767
|
+
});
|
|
21768
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
21769
|
+
fields: 0 /* String */,
|
|
21770
|
+
optionalFields: 0 /* String */,
|
|
21771
|
+
sortBy: 0 /* String */,
|
|
21772
|
+
});
|
|
21896
21773
|
return config;
|
|
21897
21774
|
}
|
|
21898
21775
|
function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
@@ -22767,28 +22644,13 @@ function createResourceParams$R(config) {
|
|
|
22767
22644
|
return resourceParams;
|
|
22768
22645
|
}
|
|
22769
22646
|
function coerceConfig$A(config) {
|
|
22770
|
-
|
|
22771
|
-
|
|
22772
|
-
|
|
22773
|
-
|
|
22774
|
-
|
|
22775
|
-
|
|
22776
|
-
|
|
22777
|
-
coercedConfig.pageSize = pageSize;
|
|
22778
|
-
}
|
|
22779
|
-
const pageToken = config.pageToken;
|
|
22780
|
-
if (pageToken !== undefined) {
|
|
22781
|
-
coercedConfig.pageToken = pageToken;
|
|
22782
|
-
}
|
|
22783
|
-
const q = config.q;
|
|
22784
|
-
if (q !== undefined) {
|
|
22785
|
-
coercedConfig.q = q;
|
|
22786
|
-
}
|
|
22787
|
-
const recentListsOnly = config.recentListsOnly;
|
|
22788
|
-
if (recentListsOnly !== undefined) {
|
|
22789
|
-
coercedConfig.recentListsOnly = recentListsOnly;
|
|
22790
|
-
}
|
|
22791
|
-
return coercedConfig;
|
|
22647
|
+
return coerceConfig$E(config, {
|
|
22648
|
+
'objectApiName': getObjectApiName$1,
|
|
22649
|
+
'pageSize': 1,
|
|
22650
|
+
'pageToken': 1,
|
|
22651
|
+
'q': 1,
|
|
22652
|
+
'recentListsOnly': 1,
|
|
22653
|
+
});
|
|
22792
22654
|
}
|
|
22793
22655
|
function keyBuilder$1L(luvio, config) {
|
|
22794
22656
|
const resourceParams = createResourceParams$R(config);
|
|
@@ -22796,26 +22658,13 @@ function keyBuilder$1L(luvio, config) {
|
|
|
22796
22658
|
}
|
|
22797
22659
|
function typeCheckConfig$Y(untrustedConfig) {
|
|
22798
22660
|
const config = {};
|
|
22799
|
-
|
|
22800
|
-
|
|
22801
|
-
|
|
22802
|
-
|
|
22803
|
-
|
|
22804
|
-
|
|
22805
|
-
|
|
22806
|
-
}
|
|
22807
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
22808
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
22809
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
22810
|
-
}
|
|
22811
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
22812
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
22813
|
-
config.q = untrustedConfig_q;
|
|
22814
|
-
}
|
|
22815
|
-
const untrustedConfig_recentListsOnly = untrustedConfig.recentListsOnly;
|
|
22816
|
-
if (typeof untrustedConfig_recentListsOnly === 'boolean') {
|
|
22817
|
-
config.recentListsOnly = untrustedConfig_recentListsOnly;
|
|
22818
|
-
}
|
|
22661
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
22662
|
+
objectApiName: 0 /* String */,
|
|
22663
|
+
pageSize: 3 /* Integer */,
|
|
22664
|
+
pageToken: 0 /* String */,
|
|
22665
|
+
q: 0 /* String */,
|
|
22666
|
+
recentListsOnly: 1 /* Boolean */,
|
|
22667
|
+
});
|
|
22819
22668
|
return config;
|
|
22820
22669
|
}
|
|
22821
22670
|
function validateAdapterConfig$Z(untrustedConfig, configPropertyNames) {
|
|
@@ -23027,80 +22876,27 @@ function createResourceParams$Q(config) {
|
|
|
23027
22876
|
return resourceParams;
|
|
23028
22877
|
}
|
|
23029
22878
|
function coerceConfig$z(config) {
|
|
23030
|
-
|
|
23031
|
-
|
|
23032
|
-
|
|
23033
|
-
|
|
23034
|
-
|
|
23035
|
-
|
|
23036
|
-
|
|
23037
|
-
|
|
23038
|
-
}
|
|
23039
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
23040
|
-
if (optionalFields !== undefined) {
|
|
23041
|
-
coercedConfig.optionalFields = optionalFields;
|
|
23042
|
-
}
|
|
23043
|
-
const pageSize = config.pageSize;
|
|
23044
|
-
if (pageSize !== undefined) {
|
|
23045
|
-
coercedConfig.pageSize = pageSize;
|
|
23046
|
-
}
|
|
23047
|
-
const pageToken = config.pageToken;
|
|
23048
|
-
if (pageToken !== undefined) {
|
|
23049
|
-
coercedConfig.pageToken = pageToken;
|
|
23050
|
-
}
|
|
23051
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
23052
|
-
if (sortBy !== undefined) {
|
|
23053
|
-
coercedConfig.sortBy = sortBy;
|
|
23054
|
-
}
|
|
23055
|
-
return coercedConfig;
|
|
22879
|
+
return coerceConfig$E(config, {
|
|
22880
|
+
'objectApiName': getObjectApiName$1,
|
|
22881
|
+
'fields': getFieldApiNamesArray,
|
|
22882
|
+
'optionalFields': getFieldApiNamesArray,
|
|
22883
|
+
'pageSize': 1,
|
|
22884
|
+
'pageToken': 1,
|
|
22885
|
+
'sortBy': getFieldApiNamesArray,
|
|
22886
|
+
});
|
|
23056
22887
|
}
|
|
23057
22888
|
function typeCheckConfig$X(untrustedConfig) {
|
|
23058
22889
|
const config = {};
|
|
23059
|
-
|
|
23060
|
-
|
|
23061
|
-
|
|
23062
|
-
|
|
23063
|
-
|
|
23064
|
-
|
|
23065
|
-
|
|
23066
|
-
|
|
23067
|
-
|
|
23068
|
-
|
|
23069
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
23070
|
-
}
|
|
23071
|
-
}
|
|
23072
|
-
config.fields = untrustedConfig_fields_array;
|
|
23073
|
-
}
|
|
23074
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
23075
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
23076
|
-
const untrustedConfig_optionalFields_array = [];
|
|
23077
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
23078
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
23079
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
23080
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
23081
|
-
}
|
|
23082
|
-
}
|
|
23083
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
23084
|
-
}
|
|
23085
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
23086
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
23087
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
23088
|
-
}
|
|
23089
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
23090
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
23091
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
23092
|
-
}
|
|
23093
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
23094
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
23095
|
-
const untrustedConfig_sortBy_array = [];
|
|
23096
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
23097
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
23098
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
23099
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
23100
|
-
}
|
|
23101
|
-
}
|
|
23102
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
23103
|
-
}
|
|
22890
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
22891
|
+
objectApiName: 0 /* String */,
|
|
22892
|
+
pageSize: 3 /* Integer */,
|
|
22893
|
+
pageToken: 0 /* String */,
|
|
22894
|
+
});
|
|
22895
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
22896
|
+
fields: 0 /* String */,
|
|
22897
|
+
optionalFields: 0 /* String */,
|
|
22898
|
+
sortBy: 0 /* String */,
|
|
22899
|
+
});
|
|
23104
22900
|
return config;
|
|
23105
22901
|
}
|
|
23106
22902
|
function validateAdapterConfig$Y(untrustedConfig, configPropertyNames) {
|
|
@@ -24093,12 +23889,9 @@ function createResourceParams$P(config) {
|
|
|
24093
23889
|
return resourceParams;
|
|
24094
23890
|
}
|
|
24095
23891
|
function coerceConfig$y(config) {
|
|
24096
|
-
|
|
24097
|
-
|
|
24098
|
-
|
|
24099
|
-
coercedConfig.objectApiName = objectApiName;
|
|
24100
|
-
}
|
|
24101
|
-
return coercedConfig;
|
|
23892
|
+
return coerceConfig$E(config, {
|
|
23893
|
+
'objectApiName': getObjectApiName$1,
|
|
23894
|
+
});
|
|
24102
23895
|
}
|
|
24103
23896
|
function keyBuilder$1H(luvio, config) {
|
|
24104
23897
|
const resourceParams = createResourceParams$P(config);
|
|
@@ -24106,10 +23899,9 @@ function keyBuilder$1H(luvio, config) {
|
|
|
24106
23899
|
}
|
|
24107
23900
|
function typeCheckConfig$W(untrustedConfig) {
|
|
24108
23901
|
const config = {};
|
|
24109
|
-
|
|
24110
|
-
|
|
24111
|
-
|
|
24112
|
-
}
|
|
23902
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
23903
|
+
objectApiName: 0 /* String */,
|
|
23904
|
+
});
|
|
24113
23905
|
return config;
|
|
24114
23906
|
}
|
|
24115
23907
|
function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
|
|
@@ -24613,110 +24405,31 @@ function getRecordId18Array(value) {
|
|
|
24613
24405
|
}
|
|
24614
24406
|
|
|
24615
24407
|
function coerceConfig$x(config) {
|
|
24616
|
-
|
|
24617
|
-
|
|
24618
|
-
|
|
24619
|
-
|
|
24620
|
-
|
|
24621
|
-
|
|
24622
|
-
|
|
24623
|
-
|
|
24624
|
-
|
|
24625
|
-
|
|
24626
|
-
if (formFactor !== undefined) {
|
|
24627
|
-
coercedConfig.formFactor = formFactor;
|
|
24628
|
-
}
|
|
24629
|
-
const layoutTypes = toSortedStringArray(config.layoutTypes);
|
|
24630
|
-
if (layoutTypes !== undefined) {
|
|
24631
|
-
coercedConfig.layoutTypes = layoutTypes;
|
|
24632
|
-
}
|
|
24633
|
-
const modes = toSortedStringArray(config.modes);
|
|
24634
|
-
if (modes !== undefined) {
|
|
24635
|
-
coercedConfig.modes = modes;
|
|
24636
|
-
}
|
|
24637
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
24638
|
-
if (optionalFields !== undefined) {
|
|
24639
|
-
coercedConfig.optionalFields = optionalFields;
|
|
24640
|
-
}
|
|
24641
|
-
const pageSize = config.pageSize;
|
|
24642
|
-
if (pageSize !== undefined) {
|
|
24643
|
-
coercedConfig.pageSize = pageSize;
|
|
24644
|
-
}
|
|
24645
|
-
const updateMru = config.updateMru;
|
|
24646
|
-
if (updateMru !== undefined) {
|
|
24647
|
-
coercedConfig.updateMru = updateMru;
|
|
24648
|
-
}
|
|
24649
|
-
return coercedConfig;
|
|
24408
|
+
return coerceConfig$E(config, {
|
|
24409
|
+
'recordIds': getRecordId18Array,
|
|
24410
|
+
'childRelationships': 1,
|
|
24411
|
+
'formFactor': 1,
|
|
24412
|
+
'layoutTypes': toSortedStringArray,
|
|
24413
|
+
'modes': toSortedStringArray,
|
|
24414
|
+
'optionalFields': getFieldApiNamesArray,
|
|
24415
|
+
'pageSize': 1,
|
|
24416
|
+
'updateMru': 1,
|
|
24417
|
+
});
|
|
24650
24418
|
}
|
|
24651
24419
|
function typeCheckConfig$V(untrustedConfig) {
|
|
24652
24420
|
const config = {};
|
|
24653
|
-
|
|
24654
|
-
|
|
24655
|
-
|
|
24656
|
-
|
|
24657
|
-
|
|
24658
|
-
|
|
24659
|
-
|
|
24660
|
-
|
|
24661
|
-
|
|
24662
|
-
|
|
24663
|
-
|
|
24664
|
-
|
|
24665
|
-
if (ArrayIsArray$1(untrustedConfig_childRelationships)) {
|
|
24666
|
-
const untrustedConfig_childRelationships_array = [];
|
|
24667
|
-
for (let i = 0, arrayLength = untrustedConfig_childRelationships.length; i < arrayLength; i++) {
|
|
24668
|
-
const untrustedConfig_childRelationships_item = untrustedConfig_childRelationships[i];
|
|
24669
|
-
if (typeof untrustedConfig_childRelationships_item === 'string') {
|
|
24670
|
-
untrustedConfig_childRelationships_array.push(untrustedConfig_childRelationships_item);
|
|
24671
|
-
}
|
|
24672
|
-
}
|
|
24673
|
-
config.childRelationships = untrustedConfig_childRelationships_array;
|
|
24674
|
-
}
|
|
24675
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
24676
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
24677
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
24678
|
-
}
|
|
24679
|
-
const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
|
|
24680
|
-
if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
|
|
24681
|
-
const untrustedConfig_layoutTypes_array = [];
|
|
24682
|
-
for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
|
|
24683
|
-
const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
|
|
24684
|
-
if (typeof untrustedConfig_layoutTypes_item === 'string') {
|
|
24685
|
-
untrustedConfig_layoutTypes_array.push(untrustedConfig_layoutTypes_item);
|
|
24686
|
-
}
|
|
24687
|
-
}
|
|
24688
|
-
config.layoutTypes = untrustedConfig_layoutTypes_array;
|
|
24689
|
-
}
|
|
24690
|
-
const untrustedConfig_modes = untrustedConfig.modes;
|
|
24691
|
-
if (ArrayIsArray$1(untrustedConfig_modes)) {
|
|
24692
|
-
const untrustedConfig_modes_array = [];
|
|
24693
|
-
for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
|
|
24694
|
-
const untrustedConfig_modes_item = untrustedConfig_modes[i];
|
|
24695
|
-
if (typeof untrustedConfig_modes_item === 'string') {
|
|
24696
|
-
untrustedConfig_modes_array.push(untrustedConfig_modes_item);
|
|
24697
|
-
}
|
|
24698
|
-
}
|
|
24699
|
-
config.modes = untrustedConfig_modes_array;
|
|
24700
|
-
}
|
|
24701
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
24702
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
24703
|
-
const untrustedConfig_optionalFields_array = [];
|
|
24704
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
24705
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
24706
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
24707
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
24708
|
-
}
|
|
24709
|
-
}
|
|
24710
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
24711
|
-
}
|
|
24712
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
24713
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
24714
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
24715
|
-
}
|
|
24716
|
-
const untrustedConfig_updateMru = untrustedConfig.updateMru;
|
|
24717
|
-
if (typeof untrustedConfig_updateMru === 'boolean') {
|
|
24718
|
-
config.updateMru = untrustedConfig_updateMru;
|
|
24719
|
-
}
|
|
24421
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
24422
|
+
formFactor: 0 /* String */,
|
|
24423
|
+
pageSize: 3 /* Integer */,
|
|
24424
|
+
updateMru: 1 /* Boolean */,
|
|
24425
|
+
});
|
|
24426
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
24427
|
+
recordIds: 0 /* String */,
|
|
24428
|
+
childRelationships: 0 /* String */,
|
|
24429
|
+
layoutTypes: 0 /* String */,
|
|
24430
|
+
modes: 0 /* String */,
|
|
24431
|
+
optionalFields: 0 /* String */,
|
|
24432
|
+
});
|
|
24720
24433
|
return config;
|
|
24721
24434
|
}
|
|
24722
24435
|
function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
|
|
@@ -26431,28 +26144,13 @@ function createResourceParams$O(config) {
|
|
|
26431
26144
|
return resourceParams;
|
|
26432
26145
|
}
|
|
26433
26146
|
function coerceConfig$w(config) {
|
|
26434
|
-
|
|
26435
|
-
|
|
26436
|
-
|
|
26437
|
-
|
|
26438
|
-
|
|
26439
|
-
|
|
26440
|
-
|
|
26441
|
-
coercedConfig.apiNames = apiNames;
|
|
26442
|
-
}
|
|
26443
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
26444
|
-
if (formFactor !== undefined) {
|
|
26445
|
-
coercedConfig.formFactor = formFactor;
|
|
26446
|
-
}
|
|
26447
|
-
const retrievalMode = config.retrievalMode;
|
|
26448
|
-
if (retrievalMode !== undefined) {
|
|
26449
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
26450
|
-
}
|
|
26451
|
-
const sections = toSortedStringArray(config.sections);
|
|
26452
|
-
if (sections !== undefined) {
|
|
26453
|
-
coercedConfig.sections = sections;
|
|
26454
|
-
}
|
|
26455
|
-
return coercedConfig;
|
|
26147
|
+
return coerceConfig$E(config, {
|
|
26148
|
+
'actionTypes': 1,
|
|
26149
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
26150
|
+
'formFactor': coerceFormFactor,
|
|
26151
|
+
'retrievalMode': 1,
|
|
26152
|
+
'sections': toSortedStringArray,
|
|
26153
|
+
});
|
|
26456
26154
|
}
|
|
26457
26155
|
function keyBuilder$1z(luvio, config) {
|
|
26458
26156
|
const resourceParams = createResourceParams$O(config);
|
|
@@ -26460,47 +26158,15 @@ function keyBuilder$1z(luvio, config) {
|
|
|
26460
26158
|
}
|
|
26461
26159
|
function typeCheckConfig$U(untrustedConfig) {
|
|
26462
26160
|
const config = {};
|
|
26463
|
-
|
|
26464
|
-
|
|
26465
|
-
|
|
26466
|
-
|
|
26467
|
-
|
|
26468
|
-
|
|
26469
|
-
|
|
26470
|
-
|
|
26471
|
-
|
|
26472
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
26473
|
-
}
|
|
26474
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
26475
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
26476
|
-
const untrustedConfig_apiNames_array = [];
|
|
26477
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
26478
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
26479
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
26480
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
26481
|
-
}
|
|
26482
|
-
}
|
|
26483
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
26484
|
-
}
|
|
26485
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
26486
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
26487
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
26488
|
-
}
|
|
26489
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
26490
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
26491
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
26492
|
-
}
|
|
26493
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
26494
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
26495
|
-
const untrustedConfig_sections_array = [];
|
|
26496
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
26497
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
26498
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
26499
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
26500
|
-
}
|
|
26501
|
-
}
|
|
26502
|
-
config.sections = untrustedConfig_sections_array;
|
|
26503
|
-
}
|
|
26161
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26162
|
+
formFactor: 0 /* String */,
|
|
26163
|
+
retrievalMode: 0 /* String */,
|
|
26164
|
+
});
|
|
26165
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
26166
|
+
actionTypes: 0 /* String */,
|
|
26167
|
+
apiNames: 0 /* String */,
|
|
26168
|
+
sections: 0 /* String */,
|
|
26169
|
+
});
|
|
26504
26170
|
return config;
|
|
26505
26171
|
}
|
|
26506
26172
|
function validateAdapterConfig$V(untrustedConfig, configPropertyNames) {
|
|
@@ -26732,10 +26398,9 @@ function keyBuilder$1w(luvio, config) {
|
|
|
26732
26398
|
}
|
|
26733
26399
|
function typeCheckConfig$T(untrustedConfig) {
|
|
26734
26400
|
const config = {};
|
|
26735
|
-
|
|
26736
|
-
|
|
26737
|
-
|
|
26738
|
-
}
|
|
26401
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26402
|
+
actionApiName: 0 /* String */,
|
|
26403
|
+
});
|
|
26739
26404
|
return config;
|
|
26740
26405
|
}
|
|
26741
26406
|
function validateAdapterConfig$U(untrustedConfig, configPropertyNames) {
|
|
@@ -26919,24 +26584,12 @@ function createResourceParams$M(config) {
|
|
|
26919
26584
|
return resourceParams;
|
|
26920
26585
|
}
|
|
26921
26586
|
function coerceConfig$v(config) {
|
|
26922
|
-
|
|
26923
|
-
|
|
26924
|
-
|
|
26925
|
-
|
|
26926
|
-
|
|
26927
|
-
|
|
26928
|
-
if (actionTypes !== undefined) {
|
|
26929
|
-
coercedConfig.actionTypes = actionTypes;
|
|
26930
|
-
}
|
|
26931
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
26932
|
-
if (formFactor !== undefined) {
|
|
26933
|
-
coercedConfig.formFactor = formFactor;
|
|
26934
|
-
}
|
|
26935
|
-
const sections = toSortedStringArray(config.sections);
|
|
26936
|
-
if (sections !== undefined) {
|
|
26937
|
-
coercedConfig.sections = sections;
|
|
26938
|
-
}
|
|
26939
|
-
return coercedConfig;
|
|
26587
|
+
return coerceConfig$E(config, {
|
|
26588
|
+
'objectApiNames': getSortedObjectApiNamesArray,
|
|
26589
|
+
'actionTypes': toSortedStringArray,
|
|
26590
|
+
'formFactor': coerceFormFactor,
|
|
26591
|
+
'sections': toSortedStringArray,
|
|
26592
|
+
});
|
|
26940
26593
|
}
|
|
26941
26594
|
function keyBuilder$1u(luvio, config) {
|
|
26942
26595
|
const resourceParams = createResourceParams$M(config);
|
|
@@ -26944,43 +26597,14 @@ function keyBuilder$1u(luvio, config) {
|
|
|
26944
26597
|
}
|
|
26945
26598
|
function typeCheckConfig$S(untrustedConfig) {
|
|
26946
26599
|
const config = {};
|
|
26947
|
-
|
|
26948
|
-
|
|
26949
|
-
|
|
26950
|
-
|
|
26951
|
-
|
|
26952
|
-
|
|
26953
|
-
|
|
26954
|
-
|
|
26955
|
-
}
|
|
26956
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
26957
|
-
}
|
|
26958
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
26959
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
26960
|
-
const untrustedConfig_actionTypes_array = [];
|
|
26961
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
26962
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
26963
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
26964
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
26965
|
-
}
|
|
26966
|
-
}
|
|
26967
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
26968
|
-
}
|
|
26969
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
26970
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
26971
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
26972
|
-
}
|
|
26973
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
26974
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
26975
|
-
const untrustedConfig_sections_array = [];
|
|
26976
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
26977
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
26978
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
26979
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
26980
|
-
}
|
|
26981
|
-
}
|
|
26982
|
-
config.sections = untrustedConfig_sections_array;
|
|
26983
|
-
}
|
|
26600
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26601
|
+
formFactor: 0 /* String */,
|
|
26602
|
+
});
|
|
26603
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
26604
|
+
objectApiNames: 0 /* String */,
|
|
26605
|
+
actionTypes: 0 /* String */,
|
|
26606
|
+
sections: 0 /* String */,
|
|
26607
|
+
});
|
|
26984
26608
|
return config;
|
|
26985
26609
|
}
|
|
26986
26610
|
function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
|
|
@@ -27133,24 +26757,12 @@ function createResourceParams$L(config) {
|
|
|
27133
26757
|
return resourceParams;
|
|
27134
26758
|
}
|
|
27135
26759
|
function coerceConfig$u(config) {
|
|
27136
|
-
|
|
27137
|
-
|
|
27138
|
-
|
|
27139
|
-
|
|
27140
|
-
|
|
27141
|
-
|
|
27142
|
-
if (actionTypes !== undefined) {
|
|
27143
|
-
coercedConfig.actionTypes = actionTypes;
|
|
27144
|
-
}
|
|
27145
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
27146
|
-
if (formFactor !== undefined) {
|
|
27147
|
-
coercedConfig.formFactor = formFactor;
|
|
27148
|
-
}
|
|
27149
|
-
const sections = toSortedStringArray(config.sections);
|
|
27150
|
-
if (sections !== undefined) {
|
|
27151
|
-
coercedConfig.sections = sections;
|
|
27152
|
-
}
|
|
27153
|
-
return coercedConfig;
|
|
26760
|
+
return coerceConfig$E(config, {
|
|
26761
|
+
'objectApiName': getObjectApiName$1,
|
|
26762
|
+
'actionTypes': 1,
|
|
26763
|
+
'formFactor': coerceFormFactor,
|
|
26764
|
+
'sections': toSortedStringArray,
|
|
26765
|
+
});
|
|
27154
26766
|
}
|
|
27155
26767
|
function keyBuilder$1s(luvio, config) {
|
|
27156
26768
|
const resourceParams = createResourceParams$L(config);
|
|
@@ -27158,36 +26770,14 @@ function keyBuilder$1s(luvio, config) {
|
|
|
27158
26770
|
}
|
|
27159
26771
|
function typeCheckConfig$R(untrustedConfig) {
|
|
27160
26772
|
const config = {};
|
|
27161
|
-
|
|
27162
|
-
|
|
27163
|
-
|
|
27164
|
-
}
|
|
27165
|
-
|
|
27166
|
-
|
|
27167
|
-
|
|
27168
|
-
|
|
27169
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
27170
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
27171
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
27172
|
-
}
|
|
27173
|
-
}
|
|
27174
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
27175
|
-
}
|
|
27176
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
27177
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
27178
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
27179
|
-
}
|
|
27180
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
27181
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
27182
|
-
const untrustedConfig_sections_array = [];
|
|
27183
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
27184
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
27185
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
27186
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
27187
|
-
}
|
|
27188
|
-
}
|
|
27189
|
-
config.sections = untrustedConfig_sections_array;
|
|
27190
|
-
}
|
|
26773
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26774
|
+
objectApiName: 0 /* String */,
|
|
26775
|
+
formFactor: 0 /* String */,
|
|
26776
|
+
});
|
|
26777
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
26778
|
+
actionTypes: 0 /* String */,
|
|
26779
|
+
sections: 0 /* String */,
|
|
26780
|
+
});
|
|
27191
26781
|
return config;
|
|
27192
26782
|
}
|
|
27193
26783
|
function validateAdapterConfig$S(untrustedConfig, configPropertyNames) {
|
|
@@ -27387,16 +26977,10 @@ function createResourceParams$K(config) {
|
|
|
27387
26977
|
return resourceParams;
|
|
27388
26978
|
}
|
|
27389
26979
|
function coerceConfig$t(config) {
|
|
27390
|
-
|
|
27391
|
-
|
|
27392
|
-
|
|
27393
|
-
|
|
27394
|
-
}
|
|
27395
|
-
const type = config.type;
|
|
27396
|
-
if (type !== undefined) {
|
|
27397
|
-
coercedConfig.type = type;
|
|
27398
|
-
}
|
|
27399
|
-
return coercedConfig;
|
|
26980
|
+
return coerceConfig$E(config, {
|
|
26981
|
+
'objectApiName': getObjectApiName$1,
|
|
26982
|
+
'type': 1,
|
|
26983
|
+
});
|
|
27400
26984
|
}
|
|
27401
26985
|
function keyBuilder$1q(luvio, config) {
|
|
27402
26986
|
const resourceParams = createResourceParams$K(config);
|
|
@@ -27404,14 +26988,10 @@ function keyBuilder$1q(luvio, config) {
|
|
|
27404
26988
|
}
|
|
27405
26989
|
function typeCheckConfig$Q(untrustedConfig) {
|
|
27406
26990
|
const config = {};
|
|
27407
|
-
|
|
27408
|
-
|
|
27409
|
-
|
|
27410
|
-
}
|
|
27411
|
-
const untrustedConfig_type = untrustedConfig.type;
|
|
27412
|
-
if (typeof untrustedConfig_type === 'string') {
|
|
27413
|
-
config.type = untrustedConfig_type;
|
|
27414
|
-
}
|
|
26991
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26992
|
+
objectApiName: 0 /* String */,
|
|
26993
|
+
type: 0 /* String */,
|
|
26994
|
+
});
|
|
27415
26995
|
return config;
|
|
27416
26996
|
}
|
|
27417
26997
|
function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
@@ -27775,20 +27355,11 @@ function createResourceParams$J(config) {
|
|
|
27775
27355
|
return resourceParams;
|
|
27776
27356
|
}
|
|
27777
27357
|
function coerceConfig$s(config) {
|
|
27778
|
-
|
|
27779
|
-
|
|
27780
|
-
|
|
27781
|
-
|
|
27782
|
-
}
|
|
27783
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
27784
|
-
if (optionalFields !== undefined) {
|
|
27785
|
-
coercedConfig.optionalFields = optionalFields;
|
|
27786
|
-
}
|
|
27787
|
-
const parentRecordId = config.parentRecordId;
|
|
27788
|
-
if (parentRecordId !== undefined) {
|
|
27789
|
-
coercedConfig.parentRecordId = parentRecordId;
|
|
27790
|
-
}
|
|
27791
|
-
return coercedConfig;
|
|
27358
|
+
return coerceConfig$E(config, {
|
|
27359
|
+
'actionApiName': getObjectApiName$1,
|
|
27360
|
+
'optionalFields': getFieldApiNamesArray,
|
|
27361
|
+
'parentRecordId': 1,
|
|
27362
|
+
});
|
|
27792
27363
|
}
|
|
27793
27364
|
function keyBuilder$1n(luvio, config) {
|
|
27794
27365
|
const resourceParams = createResourceParams$J(config);
|
|
@@ -27796,25 +27367,13 @@ function keyBuilder$1n(luvio, config) {
|
|
|
27796
27367
|
}
|
|
27797
27368
|
function typeCheckConfig$P(untrustedConfig) {
|
|
27798
27369
|
const config = {};
|
|
27799
|
-
|
|
27800
|
-
|
|
27801
|
-
|
|
27802
|
-
}
|
|
27803
|
-
|
|
27804
|
-
|
|
27805
|
-
|
|
27806
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
27807
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
27808
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
27809
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
27810
|
-
}
|
|
27811
|
-
}
|
|
27812
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
27813
|
-
}
|
|
27814
|
-
const untrustedConfig_parentRecordId = untrustedConfig.parentRecordId;
|
|
27815
|
-
if (typeof untrustedConfig_parentRecordId === 'string') {
|
|
27816
|
-
config.parentRecordId = untrustedConfig_parentRecordId;
|
|
27817
|
-
}
|
|
27370
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
27371
|
+
actionApiName: 0 /* String */,
|
|
27372
|
+
parentRecordId: 0 /* String */,
|
|
27373
|
+
});
|
|
27374
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
27375
|
+
optionalFields: 0 /* String */,
|
|
27376
|
+
});
|
|
27818
27377
|
return config;
|
|
27819
27378
|
}
|
|
27820
27379
|
function validateAdapterConfig$Q(untrustedConfig, configPropertyNames) {
|
|
@@ -27953,32 +27512,14 @@ function createResourceParams$I(config) {
|
|
|
27953
27512
|
return resourceParams;
|
|
27954
27513
|
}
|
|
27955
27514
|
function coerceConfig$r(config) {
|
|
27956
|
-
|
|
27957
|
-
|
|
27958
|
-
|
|
27959
|
-
|
|
27960
|
-
|
|
27961
|
-
|
|
27962
|
-
|
|
27963
|
-
|
|
27964
|
-
}
|
|
27965
|
-
const apiNames = toSortedStringArrayAllowEmpty(config.apiNames);
|
|
27966
|
-
if (apiNames !== undefined) {
|
|
27967
|
-
coercedConfig.apiNames = apiNames;
|
|
27968
|
-
}
|
|
27969
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
27970
|
-
if (formFactor !== undefined) {
|
|
27971
|
-
coercedConfig.formFactor = formFactor;
|
|
27972
|
-
}
|
|
27973
|
-
const retrievalMode = config.retrievalMode;
|
|
27974
|
-
if (retrievalMode !== undefined) {
|
|
27975
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
27976
|
-
}
|
|
27977
|
-
const sections = toSortedStringArray(config.sections);
|
|
27978
|
-
if (sections !== undefined) {
|
|
27979
|
-
coercedConfig.sections = sections;
|
|
27980
|
-
}
|
|
27981
|
-
return coercedConfig;
|
|
27515
|
+
return coerceConfig$E(config, {
|
|
27516
|
+
'recordIds': getRecordId18Array,
|
|
27517
|
+
'actionTypes': 1,
|
|
27518
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
27519
|
+
'formFactor': coerceFormFactor,
|
|
27520
|
+
'retrievalMode': 1,
|
|
27521
|
+
'sections': toSortedStringArray,
|
|
27522
|
+
});
|
|
27982
27523
|
}
|
|
27983
27524
|
function keyBuilder$1l(luvio, config) {
|
|
27984
27525
|
const resourceParams = createResourceParams$I(config);
|
|
@@ -27986,58 +27527,16 @@ function keyBuilder$1l(luvio, config) {
|
|
|
27986
27527
|
}
|
|
27987
27528
|
function typeCheckConfig$O(untrustedConfig) {
|
|
27988
27529
|
const config = {};
|
|
27989
|
-
|
|
27990
|
-
|
|
27991
|
-
|
|
27992
|
-
|
|
27993
|
-
|
|
27994
|
-
|
|
27995
|
-
|
|
27996
|
-
|
|
27997
|
-
|
|
27998
|
-
|
|
27999
|
-
}
|
|
28000
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
28001
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
28002
|
-
const untrustedConfig_actionTypes_array = [];
|
|
28003
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
28004
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
28005
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
28006
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
28007
|
-
}
|
|
28008
|
-
}
|
|
28009
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
28010
|
-
}
|
|
28011
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
28012
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
28013
|
-
const untrustedConfig_apiNames_array = [];
|
|
28014
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
28015
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
28016
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
28017
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
28018
|
-
}
|
|
28019
|
-
}
|
|
28020
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
28021
|
-
}
|
|
28022
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
28023
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
28024
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
28025
|
-
}
|
|
28026
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
28027
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
28028
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
28029
|
-
}
|
|
28030
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
28031
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
28032
|
-
const untrustedConfig_sections_array = [];
|
|
28033
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
28034
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
28035
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
28036
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
28037
|
-
}
|
|
28038
|
-
}
|
|
28039
|
-
config.sections = untrustedConfig_sections_array;
|
|
28040
|
-
}
|
|
27530
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
27531
|
+
formFactor: 0 /* String */,
|
|
27532
|
+
retrievalMode: 0 /* String */,
|
|
27533
|
+
});
|
|
27534
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
27535
|
+
recordIds: 0 /* String */,
|
|
27536
|
+
actionTypes: 0 /* String */,
|
|
27537
|
+
apiNames: 0 /* String */,
|
|
27538
|
+
sections: 0 /* String */,
|
|
27539
|
+
});
|
|
28041
27540
|
return config;
|
|
28042
27541
|
}
|
|
28043
27542
|
function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
|
|
@@ -28194,24 +27693,12 @@ function createResourceParams$H(config) {
|
|
|
28194
27693
|
return resourceParams;
|
|
28195
27694
|
}
|
|
28196
27695
|
function coerceConfig$q(config) {
|
|
28197
|
-
|
|
28198
|
-
|
|
28199
|
-
|
|
28200
|
-
|
|
28201
|
-
|
|
28202
|
-
|
|
28203
|
-
if (actionTypes !== undefined) {
|
|
28204
|
-
coercedConfig.actionTypes = actionTypes;
|
|
28205
|
-
}
|
|
28206
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
28207
|
-
if (formFactor !== undefined) {
|
|
28208
|
-
coercedConfig.formFactor = formFactor;
|
|
28209
|
-
}
|
|
28210
|
-
const sections = toSortedStringArray(config.sections);
|
|
28211
|
-
if (sections !== undefined) {
|
|
28212
|
-
coercedConfig.sections = sections;
|
|
28213
|
-
}
|
|
28214
|
-
return coercedConfig;
|
|
27696
|
+
return coerceConfig$E(config, {
|
|
27697
|
+
'recordIds': getRecordId18Array,
|
|
27698
|
+
'actionTypes': 1,
|
|
27699
|
+
'formFactor': coerceFormFactor,
|
|
27700
|
+
'sections': toSortedStringArray,
|
|
27701
|
+
});
|
|
28215
27702
|
}
|
|
28216
27703
|
function keyBuilder$1j(luvio, config) {
|
|
28217
27704
|
const resourceParams = createResourceParams$H(config);
|
|
@@ -28219,43 +27706,14 @@ function keyBuilder$1j(luvio, config) {
|
|
|
28219
27706
|
}
|
|
28220
27707
|
function typeCheckConfig$N(untrustedConfig) {
|
|
28221
27708
|
const config = {};
|
|
28222
|
-
|
|
28223
|
-
|
|
28224
|
-
|
|
28225
|
-
|
|
28226
|
-
|
|
28227
|
-
|
|
28228
|
-
|
|
28229
|
-
|
|
28230
|
-
}
|
|
28231
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
28232
|
-
}
|
|
28233
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
28234
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
28235
|
-
const untrustedConfig_actionTypes_array = [];
|
|
28236
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
28237
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
28238
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
28239
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
28240
|
-
}
|
|
28241
|
-
}
|
|
28242
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
28243
|
-
}
|
|
28244
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
28245
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
28246
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
28247
|
-
}
|
|
28248
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
28249
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
28250
|
-
const untrustedConfig_sections_array = [];
|
|
28251
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
28252
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
28253
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
28254
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
28255
|
-
}
|
|
28256
|
-
}
|
|
28257
|
-
config.sections = untrustedConfig_sections_array;
|
|
28258
|
-
}
|
|
27709
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
27710
|
+
formFactor: 0 /* String */,
|
|
27711
|
+
});
|
|
27712
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
27713
|
+
recordIds: 0 /* String */,
|
|
27714
|
+
actionTypes: 0 /* String */,
|
|
27715
|
+
sections: 0 /* String */,
|
|
27716
|
+
});
|
|
28259
27717
|
return config;
|
|
28260
27718
|
}
|
|
28261
27719
|
function validateAdapterConfig$O(untrustedConfig, configPropertyNames) {
|
|
@@ -28693,16 +28151,10 @@ function createResourceParams$G(config) {
|
|
|
28693
28151
|
return resourceParams;
|
|
28694
28152
|
}
|
|
28695
28153
|
function coerceConfig$p(config) {
|
|
28696
|
-
|
|
28697
|
-
|
|
28698
|
-
|
|
28699
|
-
|
|
28700
|
-
}
|
|
28701
|
-
const relatedListsActionParameters = config.relatedListsActionParameters;
|
|
28702
|
-
if (relatedListsActionParameters !== undefined) {
|
|
28703
|
-
coercedConfig.relatedListsActionParameters = relatedListsActionParameters;
|
|
28704
|
-
}
|
|
28705
|
-
return coercedConfig;
|
|
28154
|
+
return coerceConfig$E(config, {
|
|
28155
|
+
'recordIds': getRecordId18Array,
|
|
28156
|
+
'relatedListsActionParameters': 1,
|
|
28157
|
+
});
|
|
28706
28158
|
}
|
|
28707
28159
|
function keyBuilder$1g(luvio, config) {
|
|
28708
28160
|
const resourceParams = createResourceParams$G(config);
|
|
@@ -28710,17 +28162,9 @@ function keyBuilder$1g(luvio, config) {
|
|
|
28710
28162
|
}
|
|
28711
28163
|
function typeCheckConfig$M(untrustedConfig) {
|
|
28712
28164
|
const config = {};
|
|
28713
|
-
|
|
28714
|
-
|
|
28715
|
-
|
|
28716
|
-
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
28717
|
-
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
28718
|
-
if (typeof untrustedConfig_recordIds_item === 'string') {
|
|
28719
|
-
untrustedConfig_recordIds_array.push(untrustedConfig_recordIds_item);
|
|
28720
|
-
}
|
|
28721
|
-
}
|
|
28722
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
28723
|
-
}
|
|
28165
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
28166
|
+
recordIds: 0 /* String */,
|
|
28167
|
+
});
|
|
28724
28168
|
const untrustedConfig_relatedListsActionParameters = untrustedConfig.relatedListsActionParameters;
|
|
28725
28169
|
if (ArrayIsArray$1(untrustedConfig_relatedListsActionParameters)) {
|
|
28726
28170
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
@@ -28848,36 +28292,15 @@ function createResourceParams$F(config) {
|
|
|
28848
28292
|
return resourceParams;
|
|
28849
28293
|
}
|
|
28850
28294
|
function coerceConfig$o(config) {
|
|
28851
|
-
|
|
28852
|
-
|
|
28853
|
-
|
|
28854
|
-
|
|
28855
|
-
|
|
28856
|
-
|
|
28857
|
-
|
|
28858
|
-
|
|
28859
|
-
}
|
|
28860
|
-
const actionTypes = config.actionTypes;
|
|
28861
|
-
if (actionTypes !== undefined) {
|
|
28862
|
-
coercedConfig.actionTypes = actionTypes;
|
|
28863
|
-
}
|
|
28864
|
-
const apiNames = toSortedStringArrayAllowEmpty(config.apiNames);
|
|
28865
|
-
if (apiNames !== undefined) {
|
|
28866
|
-
coercedConfig.apiNames = apiNames;
|
|
28867
|
-
}
|
|
28868
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
28869
|
-
if (formFactor !== undefined) {
|
|
28870
|
-
coercedConfig.formFactor = formFactor;
|
|
28871
|
-
}
|
|
28872
|
-
const retrievalMode = config.retrievalMode;
|
|
28873
|
-
if (retrievalMode !== undefined) {
|
|
28874
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
28875
|
-
}
|
|
28876
|
-
const sections = toSortedStringArray(config.sections);
|
|
28877
|
-
if (sections !== undefined) {
|
|
28878
|
-
coercedConfig.sections = sections;
|
|
28879
|
-
}
|
|
28880
|
-
return coercedConfig;
|
|
28295
|
+
return coerceConfig$E(config, {
|
|
28296
|
+
'recordIds': getRecordId18Array,
|
|
28297
|
+
'relatedListId': 1,
|
|
28298
|
+
'actionTypes': 1,
|
|
28299
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
28300
|
+
'formFactor': coerceFormFactor,
|
|
28301
|
+
'retrievalMode': 1,
|
|
28302
|
+
'sections': toSortedStringArray,
|
|
28303
|
+
});
|
|
28881
28304
|
}
|
|
28882
28305
|
function keyBuilder$1f(luvio, config) {
|
|
28883
28306
|
const resourceParams = createResourceParams$F(config);
|
|
@@ -28885,62 +28308,17 @@ function keyBuilder$1f(luvio, config) {
|
|
|
28885
28308
|
}
|
|
28886
28309
|
function typeCheckConfig$L(untrustedConfig) {
|
|
28887
28310
|
const config = {};
|
|
28888
|
-
|
|
28889
|
-
|
|
28890
|
-
|
|
28891
|
-
|
|
28892
|
-
|
|
28893
|
-
|
|
28894
|
-
|
|
28895
|
-
|
|
28896
|
-
|
|
28897
|
-
|
|
28898
|
-
}
|
|
28899
|
-
const untrustedConfig_relatedListId = untrustedConfig.relatedListId;
|
|
28900
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
28901
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
28902
|
-
}
|
|
28903
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
28904
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
28905
|
-
const untrustedConfig_actionTypes_array = [];
|
|
28906
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
28907
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
28908
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
28909
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
28910
|
-
}
|
|
28911
|
-
}
|
|
28912
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
28913
|
-
}
|
|
28914
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
28915
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
28916
|
-
const untrustedConfig_apiNames_array = [];
|
|
28917
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
28918
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
28919
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
28920
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
28921
|
-
}
|
|
28922
|
-
}
|
|
28923
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
28924
|
-
}
|
|
28925
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
28926
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
28927
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
28928
|
-
}
|
|
28929
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
28930
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
28931
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
28932
|
-
}
|
|
28933
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
28934
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
28935
|
-
const untrustedConfig_sections_array = [];
|
|
28936
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
28937
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
28938
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
28939
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
28940
|
-
}
|
|
28941
|
-
}
|
|
28942
|
-
config.sections = untrustedConfig_sections_array;
|
|
28943
|
-
}
|
|
28311
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
28312
|
+
relatedListId: 0 /* String */,
|
|
28313
|
+
formFactor: 0 /* String */,
|
|
28314
|
+
retrievalMode: 0 /* String */,
|
|
28315
|
+
});
|
|
28316
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
28317
|
+
recordIds: 0 /* String */,
|
|
28318
|
+
actionTypes: 0 /* String */,
|
|
28319
|
+
apiNames: 0 /* String */,
|
|
28320
|
+
sections: 0 /* String */,
|
|
28321
|
+
});
|
|
28944
28322
|
return config;
|
|
28945
28323
|
}
|
|
28946
28324
|
function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
@@ -29093,28 +28471,13 @@ function createResourceParams$E(config) {
|
|
|
29093
28471
|
return resourceParams;
|
|
29094
28472
|
}
|
|
29095
28473
|
function coerceConfig$n(config) {
|
|
29096
|
-
|
|
29097
|
-
|
|
29098
|
-
|
|
29099
|
-
|
|
29100
|
-
|
|
29101
|
-
|
|
29102
|
-
|
|
29103
|
-
coercedConfig.relatedListRecordIds = relatedListRecordIds;
|
|
29104
|
-
}
|
|
29105
|
-
const actionTypes = toSortedStringArray(config.actionTypes);
|
|
29106
|
-
if (actionTypes !== undefined) {
|
|
29107
|
-
coercedConfig.actionTypes = actionTypes;
|
|
29108
|
-
}
|
|
29109
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
29110
|
-
if (formFactor !== undefined) {
|
|
29111
|
-
coercedConfig.formFactor = formFactor;
|
|
29112
|
-
}
|
|
29113
|
-
const sections = toSortedStringArray(config.sections);
|
|
29114
|
-
if (sections !== undefined) {
|
|
29115
|
-
coercedConfig.sections = sections;
|
|
29116
|
-
}
|
|
29117
|
-
return coercedConfig;
|
|
28474
|
+
return coerceConfig$E(config, {
|
|
28475
|
+
'recordIds': getRecordId18Array,
|
|
28476
|
+
'relatedListRecordIds': getRecordId18Array,
|
|
28477
|
+
'actionTypes': toSortedStringArray,
|
|
28478
|
+
'formFactor': coerceFormFactor,
|
|
28479
|
+
'sections': toSortedStringArray,
|
|
28480
|
+
});
|
|
29118
28481
|
}
|
|
29119
28482
|
function keyBuilder$1d(luvio, config) {
|
|
29120
28483
|
const resourceParams = createResourceParams$E(config);
|
|
@@ -29122,54 +28485,15 @@ function keyBuilder$1d(luvio, config) {
|
|
|
29122
28485
|
}
|
|
29123
28486
|
function typeCheckConfig$K(untrustedConfig) {
|
|
29124
28487
|
const config = {};
|
|
29125
|
-
|
|
29126
|
-
|
|
29127
|
-
|
|
29128
|
-
|
|
29129
|
-
|
|
29130
|
-
|
|
29131
|
-
|
|
29132
|
-
|
|
29133
|
-
|
|
29134
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
29135
|
-
}
|
|
29136
|
-
const untrustedConfig_relatedListRecordIds = untrustedConfig.relatedListRecordIds;
|
|
29137
|
-
if (ArrayIsArray$1(untrustedConfig_relatedListRecordIds)) {
|
|
29138
|
-
const untrustedConfig_relatedListRecordIds_array = [];
|
|
29139
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListRecordIds.length; i < arrayLength; i++) {
|
|
29140
|
-
const untrustedConfig_relatedListRecordIds_item = untrustedConfig_relatedListRecordIds[i];
|
|
29141
|
-
if (typeof untrustedConfig_relatedListRecordIds_item === 'string') {
|
|
29142
|
-
untrustedConfig_relatedListRecordIds_array.push(untrustedConfig_relatedListRecordIds_item);
|
|
29143
|
-
}
|
|
29144
|
-
}
|
|
29145
|
-
config.relatedListRecordIds = untrustedConfig_relatedListRecordIds_array;
|
|
29146
|
-
}
|
|
29147
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
29148
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
29149
|
-
const untrustedConfig_actionTypes_array = [];
|
|
29150
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
29151
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
29152
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
29153
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
29154
|
-
}
|
|
29155
|
-
}
|
|
29156
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
29157
|
-
}
|
|
29158
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
29159
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
29160
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
29161
|
-
}
|
|
29162
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
29163
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
29164
|
-
const untrustedConfig_sections_array = [];
|
|
29165
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
29166
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
29167
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
29168
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
29169
|
-
}
|
|
29170
|
-
}
|
|
29171
|
-
config.sections = untrustedConfig_sections_array;
|
|
29172
|
-
}
|
|
28488
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
28489
|
+
formFactor: 0 /* String */,
|
|
28490
|
+
});
|
|
28491
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
28492
|
+
recordIds: 0 /* String */,
|
|
28493
|
+
relatedListRecordIds: 0 /* String */,
|
|
28494
|
+
actionTypes: 0 /* String */,
|
|
28495
|
+
sections: 0 /* String */,
|
|
28496
|
+
});
|
|
29173
28497
|
return config;
|
|
29174
28498
|
}
|
|
29175
28499
|
function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
@@ -29968,16 +29292,10 @@ function createResourceParams$D(config) {
|
|
|
29968
29292
|
return resourceParams;
|
|
29969
29293
|
}
|
|
29970
29294
|
function coerceConfig$m(config) {
|
|
29971
|
-
|
|
29972
|
-
|
|
29973
|
-
|
|
29974
|
-
|
|
29975
|
-
}
|
|
29976
|
-
const userCustomizations = config.userCustomizations;
|
|
29977
|
-
if (userCustomizations !== undefined) {
|
|
29978
|
-
coercedConfig.userCustomizations = userCustomizations;
|
|
29979
|
-
}
|
|
29980
|
-
return coercedConfig;
|
|
29295
|
+
return coerceConfig$E(config, {
|
|
29296
|
+
'formFactor': coerceFormFactor,
|
|
29297
|
+
'userCustomizations': 1,
|
|
29298
|
+
});
|
|
29981
29299
|
}
|
|
29982
29300
|
function keyBuilder$19(luvio, config) {
|
|
29983
29301
|
const resourceParams = createResourceParams$D(config);
|
|
@@ -29985,14 +29303,10 @@ function keyBuilder$19(luvio, config) {
|
|
|
29985
29303
|
}
|
|
29986
29304
|
function typeCheckConfig$J(untrustedConfig) {
|
|
29987
29305
|
const config = {};
|
|
29988
|
-
|
|
29989
|
-
|
|
29990
|
-
|
|
29991
|
-
}
|
|
29992
|
-
const untrustedConfig_userCustomizations = untrustedConfig.userCustomizations;
|
|
29993
|
-
if (typeof untrustedConfig_userCustomizations === 'boolean') {
|
|
29994
|
-
config.userCustomizations = untrustedConfig_userCustomizations;
|
|
29995
|
-
}
|
|
29306
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
29307
|
+
formFactor: 0 /* String */,
|
|
29308
|
+
userCustomizations: 1 /* Boolean */,
|
|
29309
|
+
});
|
|
29996
29310
|
return config;
|
|
29997
29311
|
}
|
|
29998
29312
|
function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
@@ -30147,20 +29461,11 @@ function createResourceParams$C(config) {
|
|
|
30147
29461
|
return resourceParams;
|
|
30148
29462
|
}
|
|
30149
29463
|
function coerceConfig$l(config) {
|
|
30150
|
-
|
|
30151
|
-
|
|
30152
|
-
|
|
30153
|
-
|
|
30154
|
-
}
|
|
30155
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
30156
|
-
if (formFactor !== undefined) {
|
|
30157
|
-
coercedConfig.formFactor = formFactor;
|
|
30158
|
-
}
|
|
30159
|
-
const userCustomizations = config.userCustomizations;
|
|
30160
|
-
if (userCustomizations !== undefined) {
|
|
30161
|
-
coercedConfig.userCustomizations = userCustomizations;
|
|
30162
|
-
}
|
|
30163
|
-
return coercedConfig;
|
|
29464
|
+
return coerceConfig$E(config, {
|
|
29465
|
+
'appId': 1,
|
|
29466
|
+
'formFactor': coerceFormFactor,
|
|
29467
|
+
'userCustomizations': 1,
|
|
29468
|
+
});
|
|
30164
29469
|
}
|
|
30165
29470
|
function keyBuilder$17$1(luvio, config) {
|
|
30166
29471
|
const resourceParams = createResourceParams$C(config);
|
|
@@ -30168,18 +29473,11 @@ function keyBuilder$17$1(luvio, config) {
|
|
|
30168
29473
|
}
|
|
30169
29474
|
function typeCheckConfig$I(untrustedConfig) {
|
|
30170
29475
|
const config = {};
|
|
30171
|
-
|
|
30172
|
-
|
|
30173
|
-
|
|
30174
|
-
|
|
30175
|
-
|
|
30176
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
30177
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
30178
|
-
}
|
|
30179
|
-
const untrustedConfig_userCustomizations = untrustedConfig.userCustomizations;
|
|
30180
|
-
if (typeof untrustedConfig_userCustomizations === 'boolean') {
|
|
30181
|
-
config.userCustomizations = untrustedConfig_userCustomizations;
|
|
30182
|
-
}
|
|
29476
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
29477
|
+
appId: 0 /* String */,
|
|
29478
|
+
formFactor: 0 /* String */,
|
|
29479
|
+
userCustomizations: 1 /* Boolean */,
|
|
29480
|
+
});
|
|
30183
29481
|
return config;
|
|
30184
29482
|
}
|
|
30185
29483
|
function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
@@ -30558,14 +29856,10 @@ function keyBuilder$15$1(luvio, config) {
|
|
|
30558
29856
|
}
|
|
30559
29857
|
function typeCheckConfig$H(untrustedConfig) {
|
|
30560
29858
|
const config = {};
|
|
30561
|
-
|
|
30562
|
-
|
|
30563
|
-
|
|
30564
|
-
}
|
|
30565
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
30566
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
30567
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
30568
|
-
}
|
|
29859
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
29860
|
+
objectApiName: 0 /* String */,
|
|
29861
|
+
recordTypeId: 0 /* String */,
|
|
29862
|
+
});
|
|
30569
29863
|
return config;
|
|
30570
29864
|
}
|
|
30571
29865
|
function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
@@ -30776,51 +30070,23 @@ function createResourceParams$A(config) {
|
|
|
30776
30070
|
return resourceParams;
|
|
30777
30071
|
}
|
|
30778
30072
|
function coerceConfig$k(config) {
|
|
30779
|
-
|
|
30780
|
-
|
|
30781
|
-
|
|
30782
|
-
|
|
30783
|
-
|
|
30784
|
-
|
|
30785
|
-
|
|
30786
|
-
coercedConfig.formFactor = formFactor;
|
|
30787
|
-
}
|
|
30788
|
-
const layoutType = coerceLayoutType(config.layoutType);
|
|
30789
|
-
if (layoutType !== undefined) {
|
|
30790
|
-
coercedConfig.layoutType = layoutType;
|
|
30791
|
-
}
|
|
30792
|
-
const mode = coerceLayoutMode(config.mode);
|
|
30793
|
-
if (mode !== undefined) {
|
|
30794
|
-
coercedConfig.mode = mode;
|
|
30795
|
-
}
|
|
30796
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
30797
|
-
if (recordTypeId !== undefined) {
|
|
30798
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
30799
|
-
}
|
|
30800
|
-
return coercedConfig;
|
|
30073
|
+
return coerceConfig$E(config, {
|
|
30074
|
+
'objectApiName': getObjectApiName$1,
|
|
30075
|
+
'formFactor': 1,
|
|
30076
|
+
'layoutType': coerceLayoutType,
|
|
30077
|
+
'mode': coerceLayoutMode,
|
|
30078
|
+
'recordTypeId': getRecordId18,
|
|
30079
|
+
});
|
|
30801
30080
|
}
|
|
30802
30081
|
function typeCheckConfig$G(untrustedConfig) {
|
|
30803
30082
|
const config = {};
|
|
30804
|
-
|
|
30805
|
-
|
|
30806
|
-
|
|
30807
|
-
|
|
30808
|
-
|
|
30809
|
-
|
|
30810
|
-
|
|
30811
|
-
}
|
|
30812
|
-
const untrustedConfig_layoutType = untrustedConfig.layoutType;
|
|
30813
|
-
if (typeof untrustedConfig_layoutType === 'string') {
|
|
30814
|
-
config.layoutType = untrustedConfig_layoutType;
|
|
30815
|
-
}
|
|
30816
|
-
const untrustedConfig_mode = untrustedConfig.mode;
|
|
30817
|
-
if (typeof untrustedConfig_mode === 'string') {
|
|
30818
|
-
config.mode = untrustedConfig_mode;
|
|
30819
|
-
}
|
|
30820
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
30821
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
30822
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
30823
|
-
}
|
|
30083
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30084
|
+
objectApiName: 0 /* String */,
|
|
30085
|
+
formFactor: 0 /* String */,
|
|
30086
|
+
layoutType: 0 /* String */,
|
|
30087
|
+
mode: 0 /* String */,
|
|
30088
|
+
recordTypeId: 0 /* String */,
|
|
30089
|
+
});
|
|
30824
30090
|
return config;
|
|
30825
30091
|
}
|
|
30826
30092
|
function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
@@ -31038,51 +30304,23 @@ function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
|
|
|
31038
30304
|
|
|
31039
30305
|
const adapterName$u = 'getLayoutUserState';
|
|
31040
30306
|
function coerceConfig$j(config) {
|
|
31041
|
-
|
|
31042
|
-
|
|
31043
|
-
|
|
31044
|
-
|
|
31045
|
-
|
|
31046
|
-
|
|
31047
|
-
|
|
31048
|
-
coercedConfig.formFactor = formFactor;
|
|
31049
|
-
}
|
|
31050
|
-
const layoutType = coerceLayoutType(config.layoutType);
|
|
31051
|
-
if (layoutType !== undefined) {
|
|
31052
|
-
coercedConfig.layoutType = layoutType;
|
|
31053
|
-
}
|
|
31054
|
-
const mode = coerceLayoutMode(config.mode);
|
|
31055
|
-
if (mode !== undefined) {
|
|
31056
|
-
coercedConfig.mode = mode;
|
|
31057
|
-
}
|
|
31058
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
31059
|
-
if (recordTypeId !== undefined) {
|
|
31060
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
31061
|
-
}
|
|
31062
|
-
return coercedConfig;
|
|
30307
|
+
return coerceConfig$E(config, {
|
|
30308
|
+
'objectApiName': getObjectApiName$1,
|
|
30309
|
+
'formFactor': 1,
|
|
30310
|
+
'layoutType': coerceLayoutType,
|
|
30311
|
+
'mode': coerceLayoutMode,
|
|
30312
|
+
'recordTypeId': getRecordId18,
|
|
30313
|
+
});
|
|
31063
30314
|
}
|
|
31064
30315
|
function typeCheckConfig$F(untrustedConfig) {
|
|
31065
30316
|
const config = {};
|
|
31066
|
-
|
|
31067
|
-
|
|
31068
|
-
|
|
31069
|
-
|
|
31070
|
-
|
|
31071
|
-
|
|
31072
|
-
|
|
31073
|
-
}
|
|
31074
|
-
const untrustedConfig_layoutType = untrustedConfig.layoutType;
|
|
31075
|
-
if (typeof untrustedConfig_layoutType === 'string') {
|
|
31076
|
-
config.layoutType = untrustedConfig_layoutType;
|
|
31077
|
-
}
|
|
31078
|
-
const untrustedConfig_mode = untrustedConfig.mode;
|
|
31079
|
-
if (typeof untrustedConfig_mode === 'string') {
|
|
31080
|
-
config.mode = untrustedConfig_mode;
|
|
31081
|
-
}
|
|
31082
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
31083
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
31084
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
31085
|
-
}
|
|
30317
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30318
|
+
objectApiName: 0 /* String */,
|
|
30319
|
+
formFactor: 0 /* String */,
|
|
30320
|
+
layoutType: 0 /* String */,
|
|
30321
|
+
mode: 0 /* String */,
|
|
30322
|
+
recordTypeId: 0 /* String */,
|
|
30323
|
+
});
|
|
31086
30324
|
return config;
|
|
31087
30325
|
}
|
|
31088
30326
|
function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
|
|
@@ -31483,28 +30721,10 @@ function keyBuilder$10$1(luvio, config) {
|
|
|
31483
30721
|
}
|
|
31484
30722
|
function typeCheckConfig$E(untrustedConfig) {
|
|
31485
30723
|
const config = {};
|
|
31486
|
-
|
|
31487
|
-
|
|
31488
|
-
|
|
31489
|
-
|
|
31490
|
-
const untrustedConfig_ids_item = untrustedConfig_ids[i];
|
|
31491
|
-
if (typeof untrustedConfig_ids_item === 'string') {
|
|
31492
|
-
untrustedConfig_ids_array.push(untrustedConfig_ids_item);
|
|
31493
|
-
}
|
|
31494
|
-
}
|
|
31495
|
-
config.ids = untrustedConfig_ids_array;
|
|
31496
|
-
}
|
|
31497
|
-
const untrustedConfig_names = untrustedConfig.names;
|
|
31498
|
-
if (ArrayIsArray$1(untrustedConfig_names)) {
|
|
31499
|
-
const untrustedConfig_names_array = [];
|
|
31500
|
-
for (let i = 0, arrayLength = untrustedConfig_names.length; i < arrayLength; i++) {
|
|
31501
|
-
const untrustedConfig_names_item = untrustedConfig_names[i];
|
|
31502
|
-
if (typeof untrustedConfig_names_item === 'string') {
|
|
31503
|
-
untrustedConfig_names_array.push(untrustedConfig_names_item);
|
|
31504
|
-
}
|
|
31505
|
-
}
|
|
31506
|
-
config.names = untrustedConfig_names_array;
|
|
31507
|
-
}
|
|
30724
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
30725
|
+
ids: 0 /* String */,
|
|
30726
|
+
names: 0 /* String */,
|
|
30727
|
+
});
|
|
31508
30728
|
return config;
|
|
31509
30729
|
}
|
|
31510
30730
|
function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
|
|
@@ -31611,14 +30831,10 @@ function keyBuilder$$$1(luvio, config) {
|
|
|
31611
30831
|
}
|
|
31612
30832
|
function typeCheckConfig$D(untrustedConfig) {
|
|
31613
30833
|
const config = {};
|
|
31614
|
-
|
|
31615
|
-
|
|
31616
|
-
|
|
31617
|
-
}
|
|
31618
|
-
const untrustedConfig_objectApiName = untrustedConfig.objectApiName;
|
|
31619
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
31620
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
31621
|
-
}
|
|
30834
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30835
|
+
listViewApiName: 0 /* String */,
|
|
30836
|
+
objectApiName: 0 /* String */,
|
|
30837
|
+
});
|
|
31622
30838
|
return config;
|
|
31623
30839
|
}
|
|
31624
30840
|
function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
|
|
@@ -31768,47 +30984,24 @@ function createResourceParams$x(config) {
|
|
|
31768
30984
|
return resourceParams;
|
|
31769
30985
|
}
|
|
31770
30986
|
function coerceConfig$i(config) {
|
|
31771
|
-
|
|
31772
|
-
|
|
31773
|
-
|
|
31774
|
-
|
|
31775
|
-
|
|
31776
|
-
|
|
31777
|
-
|
|
31778
|
-
|
|
31779
|
-
}
|
|
31780
|
-
const filterLogicString = config.filterLogicString;
|
|
31781
|
-
if (filterLogicString !== undefined) {
|
|
31782
|
-
coercedConfig.filterLogicString = filterLogicString;
|
|
31783
|
-
}
|
|
31784
|
-
const filteredByInfo = config.filteredByInfo;
|
|
31785
|
-
if (filteredByInfo !== undefined) {
|
|
31786
|
-
coercedConfig.filteredByInfo = filteredByInfo;
|
|
31787
|
-
}
|
|
31788
|
-
const label = config.label;
|
|
31789
|
-
if (label !== undefined) {
|
|
31790
|
-
coercedConfig.label = label;
|
|
31791
|
-
}
|
|
31792
|
-
const scope = config.scope;
|
|
31793
|
-
if (scope !== undefined) {
|
|
31794
|
-
coercedConfig.scope = scope;
|
|
31795
|
-
}
|
|
31796
|
-
const visibility = config.visibility;
|
|
31797
|
-
if (visibility !== undefined) {
|
|
31798
|
-
coercedConfig.visibility = visibility;
|
|
31799
|
-
}
|
|
31800
|
-
return coercedConfig;
|
|
30987
|
+
return coerceConfig$E(config, {
|
|
30988
|
+
'listViewApiName': 1,
|
|
30989
|
+
'objectApiName': getObjectApiName$1,
|
|
30990
|
+
'filterLogicString': 1,
|
|
30991
|
+
'filteredByInfo': 1,
|
|
30992
|
+
'label': 1,
|
|
30993
|
+
'scope': 1,
|
|
30994
|
+
'visibility': 1,
|
|
30995
|
+
});
|
|
31801
30996
|
}
|
|
31802
30997
|
function typeCheckConfig$C(untrustedConfig) {
|
|
31803
30998
|
const config = {};
|
|
31804
|
-
|
|
31805
|
-
|
|
31806
|
-
|
|
31807
|
-
|
|
31808
|
-
|
|
31809
|
-
|
|
31810
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
31811
|
-
}
|
|
30999
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
31000
|
+
listViewApiName: 0 /* String */,
|
|
31001
|
+
objectApiName: 0 /* String */,
|
|
31002
|
+
label: 0 /* String */,
|
|
31003
|
+
visibility: 0 /* String */,
|
|
31004
|
+
});
|
|
31812
31005
|
const untrustedConfig_filterLogicString = untrustedConfig.filterLogicString;
|
|
31813
31006
|
if (typeof untrustedConfig_filterLogicString === 'string') {
|
|
31814
31007
|
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
@@ -31828,10 +31021,6 @@ function typeCheckConfig$C(untrustedConfig) {
|
|
|
31828
31021
|
}
|
|
31829
31022
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
31830
31023
|
}
|
|
31831
|
-
const untrustedConfig_label = untrustedConfig.label;
|
|
31832
|
-
if (typeof untrustedConfig_label === 'string') {
|
|
31833
|
-
config.label = untrustedConfig_label;
|
|
31834
|
-
}
|
|
31835
31024
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
31836
31025
|
const referenceListScopeRepresentationValidationError = validate$1B(untrustedConfig_scope);
|
|
31837
31026
|
if (referenceListScopeRepresentationValidationError === null) {
|
|
@@ -31840,10 +31029,6 @@ function typeCheckConfig$C(untrustedConfig) {
|
|
|
31840
31029
|
if (untrustedConfig_scope === null) {
|
|
31841
31030
|
config.scope = untrustedConfig_scope;
|
|
31842
31031
|
}
|
|
31843
|
-
const untrustedConfig_visibility = untrustedConfig.visibility;
|
|
31844
|
-
if (typeof untrustedConfig_visibility === 'string') {
|
|
31845
|
-
config.visibility = untrustedConfig_visibility;
|
|
31846
|
-
}
|
|
31847
31032
|
return config;
|
|
31848
31033
|
}
|
|
31849
31034
|
function validateAdapterConfig$B(untrustedConfig, configPropertyNames) {
|
|
@@ -32207,12 +31392,9 @@ function createResourceParams$w(config) {
|
|
|
32207
31392
|
return resourceParams;
|
|
32208
31393
|
}
|
|
32209
31394
|
function coerceConfig$h(config) {
|
|
32210
|
-
|
|
32211
|
-
|
|
32212
|
-
|
|
32213
|
-
coercedConfig.objectApiName = objectApiName;
|
|
32214
|
-
}
|
|
32215
|
-
return coercedConfig;
|
|
31395
|
+
return coerceConfig$E(config, {
|
|
31396
|
+
'objectApiName': getObjectApiName$1,
|
|
31397
|
+
});
|
|
32216
31398
|
}
|
|
32217
31399
|
function keyBuilder$Y$1(luvio, config) {
|
|
32218
31400
|
const resourceParams = createResourceParams$w(config);
|
|
@@ -32220,10 +31402,9 @@ function keyBuilder$Y$1(luvio, config) {
|
|
|
32220
31402
|
}
|
|
32221
31403
|
function typeCheckConfig$B(untrustedConfig) {
|
|
32222
31404
|
const config = {};
|
|
32223
|
-
|
|
32224
|
-
|
|
32225
|
-
|
|
32226
|
-
}
|
|
31405
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
31406
|
+
objectApiName: 0 /* String */,
|
|
31407
|
+
});
|
|
32227
31408
|
return config;
|
|
32228
31409
|
}
|
|
32229
31410
|
function validateAdapterConfig$A(untrustedConfig, configPropertyNames) {
|
|
@@ -32483,24 +31664,12 @@ function createResourceParams$v(config) {
|
|
|
32483
31664
|
return resourceParams;
|
|
32484
31665
|
}
|
|
32485
31666
|
function coerceConfig$g(config) {
|
|
32486
|
-
|
|
32487
|
-
|
|
32488
|
-
|
|
32489
|
-
|
|
32490
|
-
|
|
32491
|
-
|
|
32492
|
-
if (navItemNames !== undefined) {
|
|
32493
|
-
coercedConfig.navItemNames = navItemNames;
|
|
32494
|
-
}
|
|
32495
|
-
const page = config.page;
|
|
32496
|
-
if (page !== undefined) {
|
|
32497
|
-
coercedConfig.page = page;
|
|
32498
|
-
}
|
|
32499
|
-
const pageSize = config.pageSize;
|
|
32500
|
-
if (pageSize !== undefined) {
|
|
32501
|
-
coercedConfig.pageSize = pageSize;
|
|
32502
|
-
}
|
|
32503
|
-
return coercedConfig;
|
|
31667
|
+
return coerceConfig$E(config, {
|
|
31668
|
+
'formFactor': coerceFormFactor,
|
|
31669
|
+
'navItemNames': 1,
|
|
31670
|
+
'page': 1,
|
|
31671
|
+
'pageSize': 1,
|
|
31672
|
+
});
|
|
32504
31673
|
}
|
|
32505
31674
|
function keyBuilder$W$1(luvio, config) {
|
|
32506
31675
|
const resourceParams = createResourceParams$v(config);
|
|
@@ -32508,29 +31677,14 @@ function keyBuilder$W$1(luvio, config) {
|
|
|
32508
31677
|
}
|
|
32509
31678
|
function typeCheckConfig$A(untrustedConfig) {
|
|
32510
31679
|
const config = {};
|
|
32511
|
-
|
|
32512
|
-
|
|
32513
|
-
|
|
32514
|
-
|
|
32515
|
-
|
|
32516
|
-
|
|
32517
|
-
|
|
32518
|
-
|
|
32519
|
-
const untrustedConfig_navItemNames_item = untrustedConfig_navItemNames[i];
|
|
32520
|
-
if (typeof untrustedConfig_navItemNames_item === 'string') {
|
|
32521
|
-
untrustedConfig_navItemNames_array.push(untrustedConfig_navItemNames_item);
|
|
32522
|
-
}
|
|
32523
|
-
}
|
|
32524
|
-
config.navItemNames = untrustedConfig_navItemNames_array;
|
|
32525
|
-
}
|
|
32526
|
-
const untrustedConfig_page = untrustedConfig.page;
|
|
32527
|
-
if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
|
|
32528
|
-
config.page = untrustedConfig_page;
|
|
32529
|
-
}
|
|
32530
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
32531
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
32532
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
32533
|
-
}
|
|
31680
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
31681
|
+
formFactor: 0 /* String */,
|
|
31682
|
+
page: 3 /* Integer */,
|
|
31683
|
+
pageSize: 3 /* Integer */,
|
|
31684
|
+
});
|
|
31685
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
31686
|
+
navItemNames: 0 /* String */,
|
|
31687
|
+
});
|
|
32534
31688
|
return config;
|
|
32535
31689
|
}
|
|
32536
31690
|
function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
|
|
@@ -32885,12 +32039,9 @@ function createResourceParams$u(config) {
|
|
|
32885
32039
|
return resourceParams;
|
|
32886
32040
|
}
|
|
32887
32041
|
function coerceConfig$f(config) {
|
|
32888
|
-
|
|
32889
|
-
|
|
32890
|
-
|
|
32891
|
-
coercedConfig.objectApiNames = objectApiNames;
|
|
32892
|
-
}
|
|
32893
|
-
return coercedConfig;
|
|
32042
|
+
return coerceConfig$E(config, {
|
|
32043
|
+
'objectApiNames': getObjectApiNamesArray,
|
|
32044
|
+
});
|
|
32894
32045
|
}
|
|
32895
32046
|
function keyBuilder$U$1(luvio, config) {
|
|
32896
32047
|
const resourceParams = createResourceParams$u(config);
|
|
@@ -32898,17 +32049,9 @@ function keyBuilder$U$1(luvio, config) {
|
|
|
32898
32049
|
}
|
|
32899
32050
|
function typeCheckConfig$z(untrustedConfig) {
|
|
32900
32051
|
const config = {};
|
|
32901
|
-
|
|
32902
|
-
|
|
32903
|
-
|
|
32904
|
-
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
32905
|
-
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
32906
|
-
if (typeof untrustedConfig_objectApiNames_item === 'string') {
|
|
32907
|
-
untrustedConfig_objectApiNames_array.push(untrustedConfig_objectApiNames_item);
|
|
32908
|
-
}
|
|
32909
|
-
}
|
|
32910
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
32911
|
-
}
|
|
32052
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
32053
|
+
objectApiNames: 0 /* String */,
|
|
32054
|
+
});
|
|
32912
32055
|
return config;
|
|
32913
32056
|
}
|
|
32914
32057
|
function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
|
|
@@ -33379,16 +32522,10 @@ function createResourceParams$t(config) {
|
|
|
33379
32522
|
return resourceParams;
|
|
33380
32523
|
}
|
|
33381
32524
|
function coerceConfig$e(config) {
|
|
33382
|
-
|
|
33383
|
-
|
|
33384
|
-
|
|
33385
|
-
|
|
33386
|
-
}
|
|
33387
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
33388
|
-
if (recordTypeId !== undefined) {
|
|
33389
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
33390
|
-
}
|
|
33391
|
-
return coercedConfig;
|
|
32525
|
+
return coerceConfig$E(config, {
|
|
32526
|
+
'objectApiName': getObjectApiName$1,
|
|
32527
|
+
'recordTypeId': getRecordId18,
|
|
32528
|
+
});
|
|
33392
32529
|
}
|
|
33393
32530
|
function keyBuilder$R$1(luvio, config) {
|
|
33394
32531
|
const resourceParams = createResourceParams$t(config);
|
|
@@ -33396,14 +32533,10 @@ function keyBuilder$R$1(luvio, config) {
|
|
|
33396
32533
|
}
|
|
33397
32534
|
function typeCheckConfig$y(untrustedConfig) {
|
|
33398
32535
|
const config = {};
|
|
33399
|
-
|
|
33400
|
-
|
|
33401
|
-
|
|
33402
|
-
}
|
|
33403
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
33404
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
33405
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
33406
|
-
}
|
|
32536
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
32537
|
+
objectApiName: 0 /* String */,
|
|
32538
|
+
recordTypeId: 0 /* String */,
|
|
32539
|
+
});
|
|
33407
32540
|
return config;
|
|
33408
32541
|
}
|
|
33409
32542
|
function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
|
|
@@ -33626,35 +32759,19 @@ function validateAdapterConfig$w(untrusted, _config) {
|
|
|
33626
32759
|
|
|
33627
32760
|
const adapterName$m = 'getPicklistValues';
|
|
33628
32761
|
function coerceConfig$d(config) {
|
|
33629
|
-
|
|
33630
|
-
|
|
33631
|
-
|
|
33632
|
-
|
|
33633
|
-
}
|
|
33634
|
-
const objectApiName = config.objectApiName;
|
|
33635
|
-
if (objectApiName !== undefined) {
|
|
33636
|
-
coercedConfig.objectApiName = objectApiName;
|
|
33637
|
-
}
|
|
33638
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
33639
|
-
if (recordTypeId !== undefined) {
|
|
33640
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
33641
|
-
}
|
|
33642
|
-
return coercedConfig;
|
|
32762
|
+
return coerceConfig$E(config, {
|
|
32763
|
+
'fieldApiName': getFieldApiName,
|
|
32764
|
+
'objectApiName': 1,
|
|
32765
|
+
'recordTypeId': getRecordId18,
|
|
32766
|
+
});
|
|
33643
32767
|
}
|
|
33644
32768
|
function typeCheckConfig$x(untrustedConfig) {
|
|
33645
32769
|
const config = {};
|
|
33646
|
-
|
|
33647
|
-
|
|
33648
|
-
|
|
33649
|
-
|
|
33650
|
-
|
|
33651
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
33652
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
33653
|
-
}
|
|
33654
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
33655
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
33656
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
33657
|
-
}
|
|
32770
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
32771
|
+
fieldApiName: 0 /* String */,
|
|
32772
|
+
objectApiName: 0 /* String */,
|
|
32773
|
+
recordTypeId: 0 /* String */,
|
|
32774
|
+
});
|
|
33658
32775
|
return config;
|
|
33659
32776
|
}
|
|
33660
32777
|
function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
|
|
@@ -33807,14 +32924,10 @@ function keyBuilder$P$1(luvio, config) {
|
|
|
33807
32924
|
}
|
|
33808
32925
|
function typeCheckConfig$w(untrustedConfig) {
|
|
33809
32926
|
const config = {};
|
|
33810
|
-
|
|
33811
|
-
|
|
33812
|
-
|
|
33813
|
-
}
|
|
33814
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
33815
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
33816
|
-
config.apiName = untrustedConfig_apiName;
|
|
33817
|
-
}
|
|
32927
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
32928
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
32929
|
+
apiName: 0 /* String */,
|
|
32930
|
+
});
|
|
33818
32931
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
33819
32932
|
if (untrustedIsObject$2(untrustedConfig_fields)) {
|
|
33820
32933
|
const untrustedConfig_fields_object = {};
|
|
@@ -34888,34 +34001,19 @@ function createResourceParams$r(config) {
|
|
|
34888
34001
|
return resourceParams;
|
|
34889
34002
|
}
|
|
34890
34003
|
function coerceConfig$c(config) {
|
|
34891
|
-
|
|
34892
|
-
|
|
34893
|
-
|
|
34894
|
-
|
|
34895
|
-
}
|
|
34896
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
34897
|
-
if (formFactor !== undefined) {
|
|
34898
|
-
coercedConfig.formFactor = formFactor;
|
|
34899
|
-
}
|
|
34900
|
-
return coercedConfig;
|
|
34004
|
+
return coerceConfig$E(config, {
|
|
34005
|
+
'recordIds': getRecordId18Array,
|
|
34006
|
+
'formFactor': coerceFormFactor,
|
|
34007
|
+
});
|
|
34901
34008
|
}
|
|
34902
34009
|
function typeCheckConfig$v(untrustedConfig) {
|
|
34903
34010
|
const config = {};
|
|
34904
|
-
|
|
34905
|
-
|
|
34906
|
-
|
|
34907
|
-
|
|
34908
|
-
|
|
34909
|
-
|
|
34910
|
-
untrustedConfig_recordIds_array.push(untrustedConfig_recordIds_item);
|
|
34911
|
-
}
|
|
34912
|
-
}
|
|
34913
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
34914
|
-
}
|
|
34915
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
34916
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
34917
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
34918
|
-
}
|
|
34011
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
34012
|
+
formFactor: 0 /* String */,
|
|
34013
|
+
});
|
|
34014
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
34015
|
+
recordIds: 0 /* String */,
|
|
34016
|
+
});
|
|
34919
34017
|
return config;
|
|
34920
34018
|
}
|
|
34921
34019
|
function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
@@ -35638,20 +34736,11 @@ function createResourceParams$q(config) {
|
|
|
35638
34736
|
return resourceParams;
|
|
35639
34737
|
}
|
|
35640
34738
|
function coerceConfig$a(config) {
|
|
35641
|
-
|
|
35642
|
-
|
|
35643
|
-
|
|
35644
|
-
|
|
35645
|
-
}
|
|
35646
|
-
const relatedListNames = getFieldApiNamesArray(config.relatedListNames);
|
|
35647
|
-
if (relatedListNames !== undefined) {
|
|
35648
|
-
coercedConfig.relatedListNames = relatedListNames;
|
|
35649
|
-
}
|
|
35650
|
-
const maxCount = config.maxCount;
|
|
35651
|
-
if (maxCount !== undefined) {
|
|
35652
|
-
coercedConfig.maxCount = maxCount;
|
|
35653
|
-
}
|
|
35654
|
-
return coercedConfig;
|
|
34739
|
+
return coerceConfig$E(config, {
|
|
34740
|
+
'parentRecordId': 1,
|
|
34741
|
+
'relatedListNames': getFieldApiNamesArray,
|
|
34742
|
+
'maxCount': 1,
|
|
34743
|
+
});
|
|
35655
34744
|
}
|
|
35656
34745
|
function keyBuilder$I$1(luvio, config) {
|
|
35657
34746
|
const resourceParams = createResourceParams$q(config);
|
|
@@ -35659,25 +34748,13 @@ function keyBuilder$I$1(luvio, config) {
|
|
|
35659
34748
|
}
|
|
35660
34749
|
function typeCheckConfig$t(untrustedConfig) {
|
|
35661
34750
|
const config = {};
|
|
35662
|
-
|
|
35663
|
-
|
|
35664
|
-
|
|
35665
|
-
}
|
|
35666
|
-
|
|
35667
|
-
|
|
35668
|
-
|
|
35669
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
|
|
35670
|
-
const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
|
|
35671
|
-
if (typeof untrustedConfig_relatedListNames_item === 'string') {
|
|
35672
|
-
untrustedConfig_relatedListNames_array.push(untrustedConfig_relatedListNames_item);
|
|
35673
|
-
}
|
|
35674
|
-
}
|
|
35675
|
-
config.relatedListNames = untrustedConfig_relatedListNames_array;
|
|
35676
|
-
}
|
|
35677
|
-
const untrustedConfig_maxCount = untrustedConfig.maxCount;
|
|
35678
|
-
if (typeof untrustedConfig_maxCount === 'number' && Math.floor(untrustedConfig_maxCount) === untrustedConfig_maxCount) {
|
|
35679
|
-
config.maxCount = untrustedConfig_maxCount;
|
|
35680
|
-
}
|
|
34751
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
34752
|
+
parentRecordId: 0 /* String */,
|
|
34753
|
+
maxCount: 3 /* Integer */,
|
|
34754
|
+
});
|
|
34755
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
34756
|
+
relatedListNames: 0 /* String */,
|
|
34757
|
+
});
|
|
35681
34758
|
return config;
|
|
35682
34759
|
}
|
|
35683
34760
|
function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
|
|
@@ -35788,18 +34865,11 @@ function keyBuilder$H$1(luvio, config) {
|
|
|
35788
34865
|
}
|
|
35789
34866
|
function typeCheckConfig$s(untrustedConfig) {
|
|
35790
34867
|
const config = {};
|
|
35791
|
-
|
|
35792
|
-
|
|
35793
|
-
|
|
35794
|
-
|
|
35795
|
-
|
|
35796
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
35797
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
35798
|
-
}
|
|
35799
|
-
const untrustedConfig_maxCount = untrustedConfig.maxCount;
|
|
35800
|
-
if (typeof untrustedConfig_maxCount === 'number' && Math.floor(untrustedConfig_maxCount) === untrustedConfig_maxCount) {
|
|
35801
|
-
config.maxCount = untrustedConfig_maxCount;
|
|
35802
|
-
}
|
|
34868
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
34869
|
+
parentRecordId: 0 /* String */,
|
|
34870
|
+
relatedListId: 0 /* String */,
|
|
34871
|
+
maxCount: 3 /* Integer */,
|
|
34872
|
+
});
|
|
35803
34873
|
return config;
|
|
35804
34874
|
}
|
|
35805
34875
|
function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
@@ -36373,20 +35443,11 @@ function createResourceParams$o(config) {
|
|
|
36373
35443
|
return resourceParams;
|
|
36374
35444
|
}
|
|
36375
35445
|
function coerceConfig$9(config) {
|
|
36376
|
-
|
|
36377
|
-
|
|
36378
|
-
|
|
36379
|
-
|
|
36380
|
-
}
|
|
36381
|
-
const relatedListNames = config.relatedListNames;
|
|
36382
|
-
if (relatedListNames !== undefined) {
|
|
36383
|
-
coercedConfig.relatedListNames = relatedListNames;
|
|
36384
|
-
}
|
|
36385
|
-
const recordTypeId = config.recordTypeId;
|
|
36386
|
-
if (recordTypeId !== undefined) {
|
|
36387
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
36388
|
-
}
|
|
36389
|
-
return coercedConfig;
|
|
35446
|
+
return coerceConfig$E(config, {
|
|
35447
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
35448
|
+
'relatedListNames': 1,
|
|
35449
|
+
'recordTypeId': 1,
|
|
35450
|
+
});
|
|
36390
35451
|
}
|
|
36391
35452
|
function keyBuilder$D$1(luvio, config) {
|
|
36392
35453
|
const resourceParams = createResourceParams$o(config);
|
|
@@ -36394,25 +35455,13 @@ function keyBuilder$D$1(luvio, config) {
|
|
|
36394
35455
|
}
|
|
36395
35456
|
function typeCheckConfig$r(untrustedConfig) {
|
|
36396
35457
|
const config = {};
|
|
36397
|
-
|
|
36398
|
-
|
|
36399
|
-
|
|
36400
|
-
}
|
|
36401
|
-
|
|
36402
|
-
|
|
36403
|
-
|
|
36404
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
|
|
36405
|
-
const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
|
|
36406
|
-
if (typeof untrustedConfig_relatedListNames_item === 'string') {
|
|
36407
|
-
untrustedConfig_relatedListNames_array.push(untrustedConfig_relatedListNames_item);
|
|
36408
|
-
}
|
|
36409
|
-
}
|
|
36410
|
-
config.relatedListNames = untrustedConfig_relatedListNames_array;
|
|
36411
|
-
}
|
|
36412
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
36413
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
36414
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
36415
|
-
}
|
|
35458
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
35459
|
+
parentObjectApiName: 0 /* String */,
|
|
35460
|
+
recordTypeId: 0 /* String */,
|
|
35461
|
+
});
|
|
35462
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
35463
|
+
relatedListNames: 0 /* String */,
|
|
35464
|
+
});
|
|
36416
35465
|
return config;
|
|
36417
35466
|
}
|
|
36418
35467
|
function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
|
|
@@ -36641,16 +35690,10 @@ function createResourceParams$n(config) {
|
|
|
36641
35690
|
return resourceParams;
|
|
36642
35691
|
}
|
|
36643
35692
|
function coerceConfig$8(config) {
|
|
36644
|
-
|
|
36645
|
-
|
|
36646
|
-
|
|
36647
|
-
|
|
36648
|
-
}
|
|
36649
|
-
const recordTypeId = config.recordTypeId;
|
|
36650
|
-
if (recordTypeId !== undefined) {
|
|
36651
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
36652
|
-
}
|
|
36653
|
-
return coercedConfig;
|
|
35693
|
+
return coerceConfig$E(config, {
|
|
35694
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
35695
|
+
'recordTypeId': 1,
|
|
35696
|
+
});
|
|
36654
35697
|
}
|
|
36655
35698
|
function keyBuilder$A$1(luvio, config) {
|
|
36656
35699
|
const resourceParams = createResourceParams$n(config);
|
|
@@ -36658,14 +35701,10 @@ function keyBuilder$A$1(luvio, config) {
|
|
|
36658
35701
|
}
|
|
36659
35702
|
function typeCheckConfig$q(untrustedConfig) {
|
|
36660
35703
|
const config = {};
|
|
36661
|
-
|
|
36662
|
-
|
|
36663
|
-
|
|
36664
|
-
}
|
|
36665
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
36666
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
36667
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
36668
|
-
}
|
|
35704
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
35705
|
+
parentObjectApiName: 0 /* String */,
|
|
35706
|
+
recordTypeId: 0 /* String */,
|
|
35707
|
+
});
|
|
36669
35708
|
return config;
|
|
36670
35709
|
}
|
|
36671
35710
|
function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
|
|
@@ -36771,32 +35810,14 @@ function createResourceParams$m(config) {
|
|
|
36771
35810
|
return resourceParams;
|
|
36772
35811
|
}
|
|
36773
35812
|
function coerceConfig$7(config) {
|
|
36774
|
-
|
|
36775
|
-
|
|
36776
|
-
|
|
36777
|
-
|
|
36778
|
-
|
|
36779
|
-
|
|
36780
|
-
|
|
36781
|
-
|
|
36782
|
-
}
|
|
36783
|
-
const fields = config.fields;
|
|
36784
|
-
if (fields !== undefined) {
|
|
36785
|
-
coercedConfig.fields = fields;
|
|
36786
|
-
}
|
|
36787
|
-
const optionalFields = config.optionalFields;
|
|
36788
|
-
if (optionalFields !== undefined) {
|
|
36789
|
-
coercedConfig.optionalFields = optionalFields;
|
|
36790
|
-
}
|
|
36791
|
-
const recordTypeId = config.recordTypeId;
|
|
36792
|
-
if (recordTypeId !== undefined) {
|
|
36793
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
36794
|
-
}
|
|
36795
|
-
const restrictColumnsToLayout = config.restrictColumnsToLayout;
|
|
36796
|
-
if (restrictColumnsToLayout !== undefined) {
|
|
36797
|
-
coercedConfig.restrictColumnsToLayout = restrictColumnsToLayout;
|
|
36798
|
-
}
|
|
36799
|
-
return coercedConfig;
|
|
35813
|
+
return coerceConfig$E(config, {
|
|
35814
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
35815
|
+
'relatedListId': 1,
|
|
35816
|
+
'fields': 1,
|
|
35817
|
+
'optionalFields': 1,
|
|
35818
|
+
'recordTypeId': 1,
|
|
35819
|
+
'restrictColumnsToLayout': 1,
|
|
35820
|
+
});
|
|
36800
35821
|
}
|
|
36801
35822
|
function keyBuilder$z$1(luvio, config) {
|
|
36802
35823
|
const resourceParams = createResourceParams$m(config);
|
|
@@ -36804,44 +35825,16 @@ function keyBuilder$z$1(luvio, config) {
|
|
|
36804
35825
|
}
|
|
36805
35826
|
function typeCheckConfig$p(untrustedConfig) {
|
|
36806
35827
|
const config = {};
|
|
36807
|
-
|
|
36808
|
-
|
|
36809
|
-
|
|
36810
|
-
|
|
36811
|
-
|
|
36812
|
-
|
|
36813
|
-
|
|
36814
|
-
|
|
36815
|
-
|
|
36816
|
-
|
|
36817
|
-
const untrustedConfig_fields_array = [];
|
|
36818
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
36819
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
36820
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
36821
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
36822
|
-
}
|
|
36823
|
-
}
|
|
36824
|
-
config.fields = untrustedConfig_fields_array;
|
|
36825
|
-
}
|
|
36826
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
36827
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
36828
|
-
const untrustedConfig_optionalFields_array = [];
|
|
36829
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
36830
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
36831
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
36832
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
36833
|
-
}
|
|
36834
|
-
}
|
|
36835
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
36836
|
-
}
|
|
36837
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
36838
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
36839
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
36840
|
-
}
|
|
36841
|
-
const untrustedConfig_restrictColumnsToLayout = untrustedConfig.restrictColumnsToLayout;
|
|
36842
|
-
if (typeof untrustedConfig_restrictColumnsToLayout === 'boolean') {
|
|
36843
|
-
config.restrictColumnsToLayout = untrustedConfig_restrictColumnsToLayout;
|
|
36844
|
-
}
|
|
35828
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
35829
|
+
parentObjectApiName: 0 /* String */,
|
|
35830
|
+
relatedListId: 0 /* String */,
|
|
35831
|
+
recordTypeId: 0 /* String */,
|
|
35832
|
+
restrictColumnsToLayout: 1 /* Boolean */,
|
|
35833
|
+
});
|
|
35834
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
35835
|
+
fields: 0 /* String */,
|
|
35836
|
+
optionalFields: 0 /* String */,
|
|
35837
|
+
});
|
|
36845
35838
|
return config;
|
|
36846
35839
|
}
|
|
36847
35840
|
function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
|
|
@@ -37037,43 +36030,21 @@ function createResourceParams$l(config) {
|
|
|
37037
36030
|
return resourceParams;
|
|
37038
36031
|
}
|
|
37039
36032
|
function coerceConfig$6(config) {
|
|
37040
|
-
|
|
37041
|
-
|
|
37042
|
-
|
|
37043
|
-
|
|
37044
|
-
|
|
37045
|
-
|
|
37046
|
-
|
|
37047
|
-
coercedConfig.relatedListId = relatedListId;
|
|
37048
|
-
}
|
|
37049
|
-
const recordTypeId = config.recordTypeId;
|
|
37050
|
-
if (recordTypeId !== undefined) {
|
|
37051
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
37052
|
-
}
|
|
37053
|
-
const orderedByInfo = config.orderedByInfo;
|
|
37054
|
-
if (orderedByInfo !== undefined) {
|
|
37055
|
-
coercedConfig.orderedByInfo = orderedByInfo;
|
|
37056
|
-
}
|
|
37057
|
-
const userPreferences = config.userPreferences;
|
|
37058
|
-
if (userPreferences !== undefined) {
|
|
37059
|
-
coercedConfig.userPreferences = userPreferences;
|
|
37060
|
-
}
|
|
37061
|
-
return coercedConfig;
|
|
36033
|
+
return coerceConfig$E(config, {
|
|
36034
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
36035
|
+
'relatedListId': 1,
|
|
36036
|
+
'recordTypeId': 1,
|
|
36037
|
+
'orderedByInfo': 1,
|
|
36038
|
+
'userPreferences': 1,
|
|
36039
|
+
});
|
|
37062
36040
|
}
|
|
37063
36041
|
function typeCheckConfig$o(untrustedConfig) {
|
|
37064
36042
|
const config = {};
|
|
37065
|
-
|
|
37066
|
-
|
|
37067
|
-
|
|
37068
|
-
|
|
37069
|
-
|
|
37070
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
37071
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
37072
|
-
}
|
|
37073
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
37074
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
37075
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
37076
|
-
}
|
|
36043
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
36044
|
+
parentObjectApiName: 0 /* String */,
|
|
36045
|
+
relatedListId: 0 /* String */,
|
|
36046
|
+
recordTypeId: 0 /* String */,
|
|
36047
|
+
});
|
|
37077
36048
|
const untrustedConfig_orderedByInfo = untrustedConfig.orderedByInfo;
|
|
37078
36049
|
if (ArrayIsArray$1(untrustedConfig_orderedByInfo)) {
|
|
37079
36050
|
const untrustedConfig_orderedByInfo_array = [];
|
|
@@ -37519,17 +36490,9 @@ function keyBuilder$v$1(luvio, config) {
|
|
|
37519
36490
|
}
|
|
37520
36491
|
function typeCheckConfig$n(untrustedConfig) {
|
|
37521
36492
|
const config = {};
|
|
37522
|
-
|
|
37523
|
-
|
|
37524
|
-
|
|
37525
|
-
for (let i = 0, arrayLength = untrustedConfig_preferencesIds.length; i < arrayLength; i++) {
|
|
37526
|
-
const untrustedConfig_preferencesIds_item = untrustedConfig_preferencesIds[i];
|
|
37527
|
-
if (typeof untrustedConfig_preferencesIds_item === 'string') {
|
|
37528
|
-
untrustedConfig_preferencesIds_array.push(untrustedConfig_preferencesIds_item);
|
|
37529
|
-
}
|
|
37530
|
-
}
|
|
37531
|
-
config.preferencesIds = untrustedConfig_preferencesIds_array;
|
|
37532
|
-
}
|
|
36493
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
36494
|
+
preferencesIds: 0 /* String */,
|
|
36495
|
+
});
|
|
37533
36496
|
return config;
|
|
37534
36497
|
}
|
|
37535
36498
|
function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
@@ -37636,10 +36599,9 @@ function keyBuilder$u$1(luvio, config) {
|
|
|
37636
36599
|
}
|
|
37637
36600
|
function typeCheckConfig$m(untrustedConfig) {
|
|
37638
36601
|
const config = {};
|
|
37639
|
-
|
|
37640
|
-
|
|
37641
|
-
|
|
37642
|
-
}
|
|
36602
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
36603
|
+
preferencesId: 0 /* String */,
|
|
36604
|
+
});
|
|
37643
36605
|
return config;
|
|
37644
36606
|
}
|
|
37645
36607
|
function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
|
|
@@ -37783,10 +36745,9 @@ function createResourceParams$i(config) {
|
|
|
37783
36745
|
}
|
|
37784
36746
|
function typeCheckConfig$l(untrustedConfig) {
|
|
37785
36747
|
const config = {};
|
|
37786
|
-
|
|
37787
|
-
|
|
37788
|
-
|
|
37789
|
-
}
|
|
36748
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
36749
|
+
preferencesId: 0 /* String */,
|
|
36750
|
+
});
|
|
37790
36751
|
const untrustedConfig_columnWidths = untrustedConfig.columnWidths;
|
|
37791
36752
|
if (untrustedIsObject$2(untrustedConfig_columnWidths)) {
|
|
37792
36753
|
const untrustedConfig_columnWidths_object = {};
|
|
@@ -38829,10 +37790,9 @@ function keyBuilder$q$1(luvio, config) {
|
|
|
38829
37790
|
}
|
|
38830
37791
|
function typeCheckConfig$k(untrustedConfig) {
|
|
38831
37792
|
const config = {};
|
|
38832
|
-
|
|
38833
|
-
|
|
38834
|
-
|
|
38835
|
-
}
|
|
37793
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
37794
|
+
parentRecordId: 0 /* String */,
|
|
37795
|
+
});
|
|
38836
37796
|
const untrustedConfig_relatedListParameters = untrustedConfig.relatedListParameters;
|
|
38837
37797
|
if (ArrayIsArray$1(untrustedConfig_relatedListParameters)) {
|
|
38838
37798
|
const untrustedConfig_relatedListParameters_array = [];
|
|
@@ -38967,59 +37927,18 @@ function keyBuilder$p$1(luvio, config) {
|
|
|
38967
37927
|
}
|
|
38968
37928
|
function typeCheckConfig$j(untrustedConfig) {
|
|
38969
37929
|
const config = {};
|
|
38970
|
-
|
|
38971
|
-
|
|
38972
|
-
|
|
38973
|
-
|
|
38974
|
-
|
|
38975
|
-
|
|
38976
|
-
|
|
38977
|
-
|
|
38978
|
-
|
|
38979
|
-
|
|
38980
|
-
|
|
38981
|
-
|
|
38982
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
38983
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
38984
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
38985
|
-
}
|
|
38986
|
-
}
|
|
38987
|
-
config.fields = untrustedConfig_fields_array;
|
|
38988
|
-
}
|
|
38989
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
38990
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
38991
|
-
const untrustedConfig_optionalFields_array = [];
|
|
38992
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
38993
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
38994
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
38995
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
38996
|
-
}
|
|
38997
|
-
}
|
|
38998
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
38999
|
-
}
|
|
39000
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
39001
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
39002
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
39003
|
-
}
|
|
39004
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
39005
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
39006
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
39007
|
-
}
|
|
39008
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
39009
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
39010
|
-
const untrustedConfig_sortBy_array = [];
|
|
39011
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
39012
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
39013
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
39014
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
39015
|
-
}
|
|
39016
|
-
}
|
|
39017
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
39018
|
-
}
|
|
39019
|
-
const untrustedConfig_where = untrustedConfig.where;
|
|
39020
|
-
if (typeof untrustedConfig_where === 'string') {
|
|
39021
|
-
config.where = untrustedConfig_where;
|
|
39022
|
-
}
|
|
37930
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
37931
|
+
parentRecordId: 0 /* String */,
|
|
37932
|
+
relatedListId: 0 /* String */,
|
|
37933
|
+
pageSize: 3 /* Integer */,
|
|
37934
|
+
pageToken: 0 /* String */,
|
|
37935
|
+
where: 0 /* String */,
|
|
37936
|
+
});
|
|
37937
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
37938
|
+
fields: 0 /* String */,
|
|
37939
|
+
optionalFields: 0 /* String */,
|
|
37940
|
+
sortBy: 0 /* String */,
|
|
37941
|
+
});
|
|
39023
37942
|
return config;
|
|
39024
37943
|
}
|
|
39025
37944
|
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
@@ -39510,10 +38429,9 @@ function keyBuilder$m$1(luvio, config) {
|
|
|
39510
38429
|
}
|
|
39511
38430
|
function typeCheckConfig$i(untrustedConfig) {
|
|
39512
38431
|
const config = {};
|
|
39513
|
-
|
|
39514
|
-
|
|
39515
|
-
|
|
39516
|
-
}
|
|
38432
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
38433
|
+
objectApiName: 0 /* String */,
|
|
38434
|
+
});
|
|
39517
38435
|
return config;
|
|
39518
38436
|
}
|
|
39519
38437
|
function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
@@ -39739,18 +38657,11 @@ function keyBuilder$j$1(luvio, config) {
|
|
|
39739
38657
|
}
|
|
39740
38658
|
function typeCheckConfig$h(untrustedConfig) {
|
|
39741
38659
|
const config = {};
|
|
39742
|
-
|
|
39743
|
-
|
|
39744
|
-
|
|
39745
|
-
|
|
39746
|
-
|
|
39747
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
39748
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
39749
|
-
}
|
|
39750
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
39751
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
39752
|
-
config.q = untrustedConfig_q;
|
|
39753
|
-
}
|
|
38660
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
38661
|
+
filterApiName: 0 /* String */,
|
|
38662
|
+
objectApiName: 0 /* String */,
|
|
38663
|
+
q: 0 /* String */,
|
|
38664
|
+
});
|
|
39754
38665
|
return config;
|
|
39755
38666
|
}
|
|
39756
38667
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -39971,14 +38882,10 @@ function keyBuilder$g$1(luvio, config) {
|
|
|
39971
38882
|
}
|
|
39972
38883
|
function typeCheckConfig$g(untrustedConfig) {
|
|
39973
38884
|
const config = {};
|
|
39974
|
-
|
|
39975
|
-
|
|
39976
|
-
|
|
39977
|
-
}
|
|
39978
|
-
const untrustedConfig_objectApiName = untrustedConfig.objectApiName;
|
|
39979
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
39980
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
39981
|
-
}
|
|
38885
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
38886
|
+
fieldApiName: 0 /* String */,
|
|
38887
|
+
objectApiName: 0 /* String */,
|
|
38888
|
+
});
|
|
39982
38889
|
return config;
|
|
39983
38890
|
}
|
|
39984
38891
|
function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
@@ -40204,32 +39111,13 @@ function keyBuilder$d$1(luvio, config) {
|
|
|
40204
39111
|
}
|
|
40205
39112
|
function typeCheckConfig$f(untrustedConfig) {
|
|
40206
39113
|
const config = {};
|
|
40207
|
-
|
|
40208
|
-
|
|
40209
|
-
|
|
40210
|
-
|
|
40211
|
-
|
|
40212
|
-
|
|
40213
|
-
|
|
40214
|
-
for (let i = 0, arrayLength = untrustedConfig_answerTypes.length; i < arrayLength; i++) {
|
|
40215
|
-
const untrustedConfig_answerTypes_item = untrustedConfig_answerTypes[i];
|
|
40216
|
-
if (typeof untrustedConfig_answerTypes_item === 'string') {
|
|
40217
|
-
untrustedConfig_answerTypes_array.push(untrustedConfig_answerTypes_item);
|
|
40218
|
-
}
|
|
40219
|
-
}
|
|
40220
|
-
config.answerTypes = untrustedConfig_answerTypes_array;
|
|
40221
|
-
}
|
|
40222
|
-
const untrustedConfig_objectApiNames = untrustedConfig.objectApiNames;
|
|
40223
|
-
if (ArrayIsArray$1(untrustedConfig_objectApiNames)) {
|
|
40224
|
-
const untrustedConfig_objectApiNames_array = [];
|
|
40225
|
-
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
40226
|
-
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
40227
|
-
if (typeof untrustedConfig_objectApiNames_item === 'string') {
|
|
40228
|
-
untrustedConfig_objectApiNames_array.push(untrustedConfig_objectApiNames_item);
|
|
40229
|
-
}
|
|
40230
|
-
}
|
|
40231
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
40232
|
-
}
|
|
39114
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
39115
|
+
q: 0 /* String */,
|
|
39116
|
+
});
|
|
39117
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
39118
|
+
answerTypes: 0 /* String */,
|
|
39119
|
+
objectApiNames: 0 /* String */,
|
|
39120
|
+
});
|
|
40233
39121
|
return config;
|
|
40234
39122
|
}
|
|
40235
39123
|
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
@@ -40532,14 +39420,13 @@ function keyBuilder$a$1(luvio, config) {
|
|
|
40532
39420
|
}
|
|
40533
39421
|
function typeCheckConfig$e(untrustedConfig) {
|
|
40534
39422
|
const config = {};
|
|
40535
|
-
|
|
40536
|
-
|
|
40537
|
-
|
|
40538
|
-
|
|
40539
|
-
|
|
40540
|
-
|
|
40541
|
-
|
|
40542
|
-
}
|
|
39423
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
39424
|
+
objectApiName: 0 /* String */,
|
|
39425
|
+
q: 0 /* String */,
|
|
39426
|
+
pageSize: 3 /* Integer */,
|
|
39427
|
+
pageToken: 0 /* String */,
|
|
39428
|
+
sortBy: 0 /* String */,
|
|
39429
|
+
});
|
|
40543
39430
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
40544
39431
|
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
40545
39432
|
const untrustedConfig_filters_array = [];
|
|
@@ -40552,18 +39439,6 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
40552
39439
|
}
|
|
40553
39440
|
config.filters = untrustedConfig_filters_array;
|
|
40554
39441
|
}
|
|
40555
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
40556
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
40557
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
40558
|
-
}
|
|
40559
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
40560
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
40561
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
40562
|
-
}
|
|
40563
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
40564
|
-
if (typeof untrustedConfig_sortBy === 'string') {
|
|
40565
|
-
config.sortBy = untrustedConfig_sortBy;
|
|
40566
|
-
}
|
|
40567
39442
|
return config;
|
|
40568
39443
|
}
|
|
40569
39444
|
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
@@ -40709,22 +39584,12 @@ function createResourceParams$a(config) {
|
|
|
40709
39584
|
}
|
|
40710
39585
|
function typeCheckConfig$d(untrustedConfig) {
|
|
40711
39586
|
const config = {};
|
|
40712
|
-
|
|
40713
|
-
|
|
40714
|
-
|
|
40715
|
-
|
|
40716
|
-
|
|
40717
|
-
|
|
40718
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
40719
|
-
}
|
|
40720
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
40721
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
40722
|
-
config.apiName = untrustedConfig_apiName;
|
|
40723
|
-
}
|
|
40724
|
-
const untrustedConfig_contextId = untrustedConfig.contextId;
|
|
40725
|
-
if (typeof untrustedConfig_contextId === 'string') {
|
|
40726
|
-
config.contextId = untrustedConfig_contextId;
|
|
40727
|
-
}
|
|
39587
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
39588
|
+
actionApiName: 0 /* String */,
|
|
39589
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
39590
|
+
apiName: 0 /* String */,
|
|
39591
|
+
contextId: 0 /* String */,
|
|
39592
|
+
});
|
|
40728
39593
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
40729
39594
|
if (untrustedIsObject$2(untrustedConfig_fields)) {
|
|
40730
39595
|
const untrustedConfig_fields_object = {};
|
|
@@ -40858,22 +39723,12 @@ function createResourceParams$9(config) {
|
|
|
40858
39723
|
}
|
|
40859
39724
|
function typeCheckConfig$c(untrustedConfig) {
|
|
40860
39725
|
const config = {};
|
|
40861
|
-
|
|
40862
|
-
|
|
40863
|
-
|
|
40864
|
-
|
|
40865
|
-
|
|
40866
|
-
|
|
40867
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
40868
|
-
}
|
|
40869
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
40870
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
40871
|
-
config.apiName = untrustedConfig_apiName;
|
|
40872
|
-
}
|
|
40873
|
-
const untrustedConfig_contextId = untrustedConfig.contextId;
|
|
40874
|
-
if (typeof untrustedConfig_contextId === 'string') {
|
|
40875
|
-
config.contextId = untrustedConfig_contextId;
|
|
40876
|
-
}
|
|
39726
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
39727
|
+
actionApiName: 0 /* String */,
|
|
39728
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
39729
|
+
apiName: 0 /* String */,
|
|
39730
|
+
contextId: 0 /* String */,
|
|
39731
|
+
});
|
|
40877
39732
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
40878
39733
|
if (untrustedIsObject$2(untrustedConfig_fields)) {
|
|
40879
39734
|
const untrustedConfig_fields_object = {};
|
|
@@ -41145,55 +40000,17 @@ function keyBuilder$9$1(luvio, config) {
|
|
|
41145
40000
|
}
|
|
41146
40001
|
function typeCheckConfig$b(untrustedConfig) {
|
|
41147
40002
|
const config = {};
|
|
41148
|
-
|
|
41149
|
-
|
|
41150
|
-
|
|
41151
|
-
|
|
41152
|
-
|
|
41153
|
-
|
|
41154
|
-
|
|
41155
|
-
|
|
41156
|
-
|
|
41157
|
-
|
|
41158
|
-
|
|
41159
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
41160
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
41161
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
41162
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
41163
|
-
}
|
|
41164
|
-
}
|
|
41165
|
-
config.fields = untrustedConfig_fields_array;
|
|
41166
|
-
}
|
|
41167
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
41168
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
41169
|
-
const untrustedConfig_optionalFields_array = [];
|
|
41170
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
41171
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
41172
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
41173
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
41174
|
-
}
|
|
41175
|
-
}
|
|
41176
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
41177
|
-
}
|
|
41178
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
41179
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
41180
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
41181
|
-
}
|
|
41182
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
41183
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
41184
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
41185
|
-
}
|
|
41186
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
41187
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
41188
|
-
const untrustedConfig_sortBy_array = [];
|
|
41189
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
41190
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
41191
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
41192
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
41193
|
-
}
|
|
41194
|
-
}
|
|
41195
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
41196
|
-
}
|
|
40003
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
40004
|
+
listViewApiName: 0 /* String */,
|
|
40005
|
+
objectApiName: 0 /* String */,
|
|
40006
|
+
pageSize: 3 /* Integer */,
|
|
40007
|
+
pageToken: 0 /* String */,
|
|
40008
|
+
});
|
|
40009
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
40010
|
+
fields: 0 /* String */,
|
|
40011
|
+
optionalFields: 0 /* String */,
|
|
40012
|
+
sortBy: 0 /* String */,
|
|
40013
|
+
});
|
|
41197
40014
|
return config;
|
|
41198
40015
|
}
|
|
41199
40016
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -41412,90 +40229,33 @@ function createResourceRequest$9(config) {
|
|
|
41412
40229
|
}
|
|
41413
40230
|
|
|
41414
40231
|
function coerceConfig$5(config) {
|
|
41415
|
-
|
|
41416
|
-
|
|
41417
|
-
|
|
41418
|
-
|
|
41419
|
-
|
|
41420
|
-
|
|
41421
|
-
|
|
41422
|
-
|
|
41423
|
-
|
|
41424
|
-
|
|
41425
|
-
|
|
41426
|
-
coercedConfig.dependentFieldBindings = dependentFieldBindings;
|
|
41427
|
-
}
|
|
41428
|
-
const page = config.page;
|
|
41429
|
-
if (page !== undefined) {
|
|
41430
|
-
coercedConfig.page = page;
|
|
41431
|
-
}
|
|
41432
|
-
const pageSize = config.pageSize;
|
|
41433
|
-
if (pageSize !== undefined) {
|
|
41434
|
-
coercedConfig.pageSize = pageSize;
|
|
41435
|
-
}
|
|
41436
|
-
const q = config.q;
|
|
41437
|
-
if (q !== undefined) {
|
|
41438
|
-
coercedConfig.q = q;
|
|
41439
|
-
}
|
|
41440
|
-
const searchType = config.searchType;
|
|
41441
|
-
if (searchType !== undefined) {
|
|
41442
|
-
coercedConfig.searchType = searchType;
|
|
41443
|
-
}
|
|
41444
|
-
const sourceRecordId = config.sourceRecordId;
|
|
41445
|
-
if (sourceRecordId !== undefined) {
|
|
41446
|
-
coercedConfig.sourceRecordId = sourceRecordId;
|
|
41447
|
-
}
|
|
41448
|
-
const targetApiName = getObjectApiName$1(config.targetApiName);
|
|
41449
|
-
if (targetApiName !== undefined) {
|
|
41450
|
-
coercedConfig.targetApiName = targetApiName;
|
|
41451
|
-
}
|
|
41452
|
-
return coercedConfig;
|
|
40232
|
+
return coerceConfig$E(config, {
|
|
40233
|
+
'fieldApiName': getFieldApiName,
|
|
40234
|
+
'objectApiName': 1,
|
|
40235
|
+
'dependentFieldBindings': 1,
|
|
40236
|
+
'page': 1,
|
|
40237
|
+
'pageSize': 1,
|
|
40238
|
+
'q': 1,
|
|
40239
|
+
'searchType': 1,
|
|
40240
|
+
'sourceRecordId': 1,
|
|
40241
|
+
'targetApiName': getObjectApiName$1,
|
|
40242
|
+
});
|
|
41453
40243
|
}
|
|
41454
40244
|
function typeCheckConfig$a(untrustedConfig) {
|
|
41455
40245
|
const config = {};
|
|
41456
|
-
|
|
41457
|
-
|
|
41458
|
-
|
|
41459
|
-
|
|
41460
|
-
|
|
41461
|
-
|
|
41462
|
-
|
|
41463
|
-
|
|
41464
|
-
|
|
41465
|
-
|
|
41466
|
-
|
|
41467
|
-
|
|
41468
|
-
|
|
41469
|
-
if (typeof untrustedConfig_dependentFieldBindings_item === 'string') {
|
|
41470
|
-
untrustedConfig_dependentFieldBindings_array.push(untrustedConfig_dependentFieldBindings_item);
|
|
41471
|
-
}
|
|
41472
|
-
}
|
|
41473
|
-
config.dependentFieldBindings = untrustedConfig_dependentFieldBindings_array;
|
|
41474
|
-
}
|
|
41475
|
-
const untrustedConfig_page = untrustedConfig.page;
|
|
41476
|
-
if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
|
|
41477
|
-
config.page = untrustedConfig_page;
|
|
41478
|
-
}
|
|
41479
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
41480
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
41481
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
41482
|
-
}
|
|
41483
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
41484
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
41485
|
-
config.q = untrustedConfig_q;
|
|
41486
|
-
}
|
|
41487
|
-
const untrustedConfig_searchType = untrustedConfig.searchType;
|
|
41488
|
-
if (typeof untrustedConfig_searchType === 'string') {
|
|
41489
|
-
config.searchType = untrustedConfig_searchType;
|
|
41490
|
-
}
|
|
41491
|
-
const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
|
|
41492
|
-
if (typeof untrustedConfig_sourceRecordId === 'string') {
|
|
41493
|
-
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
41494
|
-
}
|
|
41495
|
-
const untrustedConfig_targetApiName = untrustedConfig.targetApiName;
|
|
41496
|
-
if (typeof untrustedConfig_targetApiName === 'string') {
|
|
41497
|
-
config.targetApiName = untrustedConfig_targetApiName;
|
|
41498
|
-
}
|
|
40246
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
40247
|
+
fieldApiName: 0 /* String */,
|
|
40248
|
+
objectApiName: 0 /* String */,
|
|
40249
|
+
page: 3 /* Integer */,
|
|
40250
|
+
pageSize: 3 /* Integer */,
|
|
40251
|
+
q: 0 /* String */,
|
|
40252
|
+
searchType: 0 /* String */,
|
|
40253
|
+
sourceRecordId: 0 /* String */,
|
|
40254
|
+
targetApiName: 0 /* String */,
|
|
40255
|
+
});
|
|
40256
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
40257
|
+
dependentFieldBindings: 0 /* String */,
|
|
40258
|
+
});
|
|
41499
40259
|
return config;
|
|
41500
40260
|
}
|
|
41501
40261
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -41699,30 +40459,14 @@ const updateRecordAvatar_ConfigPropertyNames = {
|
|
|
41699
40459
|
};
|
|
41700
40460
|
function typeCheckConfig$9(untrustedConfig) {
|
|
41701
40461
|
const config = {};
|
|
41702
|
-
|
|
41703
|
-
|
|
41704
|
-
|
|
41705
|
-
|
|
41706
|
-
|
|
41707
|
-
|
|
41708
|
-
|
|
41709
|
-
}
|
|
41710
|
-
const untrustedConfig_blueMasterId = untrustedConfig.blueMasterId;
|
|
41711
|
-
if (typeof untrustedConfig_blueMasterId === 'string') {
|
|
41712
|
-
config.blueMasterId = untrustedConfig_blueMasterId;
|
|
41713
|
-
}
|
|
41714
|
-
const untrustedConfig_externalId = untrustedConfig.externalId;
|
|
41715
|
-
if (typeof untrustedConfig_externalId === 'string') {
|
|
41716
|
-
config.externalId = untrustedConfig_externalId;
|
|
41717
|
-
}
|
|
41718
|
-
const untrustedConfig_photoUrl = untrustedConfig.photoUrl;
|
|
41719
|
-
if (typeof untrustedConfig_photoUrl === 'string') {
|
|
41720
|
-
config.photoUrl = untrustedConfig_photoUrl;
|
|
41721
|
-
}
|
|
41722
|
-
const untrustedConfig_profileName = untrustedConfig.profileName;
|
|
41723
|
-
if (typeof untrustedConfig_profileName === 'string') {
|
|
41724
|
-
config.profileName = untrustedConfig_profileName;
|
|
41725
|
-
}
|
|
40462
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
40463
|
+
recordId: 0 /* String */,
|
|
40464
|
+
actionType: 0 /* String */,
|
|
40465
|
+
blueMasterId: 0 /* String */,
|
|
40466
|
+
externalId: 0 /* String */,
|
|
40467
|
+
photoUrl: 0 /* String */,
|
|
40468
|
+
profileName: 0 /* String */,
|
|
40469
|
+
});
|
|
41726
40470
|
return config;
|
|
41727
40471
|
}
|
|
41728
40472
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -42118,50 +40862,23 @@ function createResourceParams$7(config) {
|
|
|
42118
40862
|
return resourceParams;
|
|
42119
40863
|
}
|
|
42120
40864
|
function coerceConfig$4(config) {
|
|
42121
|
-
|
|
42122
|
-
|
|
42123
|
-
|
|
42124
|
-
|
|
42125
|
-
|
|
42126
|
-
|
|
42127
|
-
if (formFactor !== undefined) {
|
|
42128
|
-
coercedConfig.formFactor = formFactor;
|
|
42129
|
-
}
|
|
42130
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
42131
|
-
if (optionalFields !== undefined) {
|
|
42132
|
-
coercedConfig.optionalFields = optionalFields;
|
|
42133
|
-
}
|
|
42134
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
42135
|
-
if (recordTypeId !== undefined) {
|
|
42136
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
42137
|
-
}
|
|
42138
|
-
return coercedConfig;
|
|
40865
|
+
return coerceConfig$E(config, {
|
|
40866
|
+
'objectApiName': getObjectApiName$1,
|
|
40867
|
+
'formFactor': coerceFormFactor,
|
|
40868
|
+
'optionalFields': getFieldApiNamesArray,
|
|
40869
|
+
'recordTypeId': getRecordId18,
|
|
40870
|
+
});
|
|
42139
40871
|
}
|
|
42140
40872
|
function typeCheckConfig$8(untrustedConfig) {
|
|
42141
40873
|
const config = {};
|
|
42142
|
-
|
|
42143
|
-
|
|
42144
|
-
|
|
42145
|
-
|
|
42146
|
-
|
|
42147
|
-
|
|
42148
|
-
|
|
42149
|
-
}
|
|
42150
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
42151
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
42152
|
-
const untrustedConfig_optionalFields_array = [];
|
|
42153
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
42154
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
42155
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
42156
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
42157
|
-
}
|
|
42158
|
-
}
|
|
42159
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
42160
|
-
}
|
|
42161
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
42162
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
42163
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
42164
|
-
}
|
|
40874
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
40875
|
+
objectApiName: 0 /* String */,
|
|
40876
|
+
formFactor: 0 /* String */,
|
|
40877
|
+
recordTypeId: 0 /* String */,
|
|
40878
|
+
});
|
|
40879
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
40880
|
+
optionalFields: 0 /* String */,
|
|
40881
|
+
});
|
|
42165
40882
|
return config;
|
|
42166
40883
|
}
|
|
42167
40884
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -42736,42 +41453,21 @@ function createResourceParams$6(config) {
|
|
|
42736
41453
|
return resourceParams;
|
|
42737
41454
|
}
|
|
42738
41455
|
function coerceConfig$3(config) {
|
|
42739
|
-
|
|
42740
|
-
|
|
42741
|
-
|
|
42742
|
-
|
|
42743
|
-
}
|
|
42744
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
42745
|
-
if (optionalFields !== undefined) {
|
|
42746
|
-
coercedConfig.optionalFields = optionalFields;
|
|
42747
|
-
}
|
|
42748
|
-
const recordTypeId = config.recordTypeId;
|
|
42749
|
-
if (recordTypeId !== undefined) {
|
|
42750
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
42751
|
-
}
|
|
42752
|
-
return coercedConfig;
|
|
41456
|
+
return coerceConfig$E(config, {
|
|
41457
|
+
'recordId': getRecordId18,
|
|
41458
|
+
'optionalFields': getFieldApiNamesArray,
|
|
41459
|
+
'recordTypeId': 1,
|
|
41460
|
+
});
|
|
42753
41461
|
}
|
|
42754
41462
|
function typeCheckConfig$7(untrustedConfig) {
|
|
42755
41463
|
const config = {};
|
|
42756
|
-
|
|
42757
|
-
|
|
42758
|
-
|
|
42759
|
-
}
|
|
42760
|
-
|
|
42761
|
-
|
|
42762
|
-
|
|
42763
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
42764
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
42765
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
42766
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
42767
|
-
}
|
|
42768
|
-
}
|
|
42769
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
42770
|
-
}
|
|
42771
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
42772
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
42773
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
42774
|
-
}
|
|
41464
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
41465
|
+
recordId: 0 /* String */,
|
|
41466
|
+
recordTypeId: 0 /* String */,
|
|
41467
|
+
});
|
|
41468
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
41469
|
+
optionalFields: 0 /* String */,
|
|
41470
|
+
});
|
|
42775
41471
|
return config;
|
|
42776
41472
|
}
|
|
42777
41473
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -43352,42 +42048,21 @@ function createResourceParams$5(config) {
|
|
|
43352
42048
|
return resourceParams;
|
|
43353
42049
|
}
|
|
43354
42050
|
function coerceConfig$2(config) {
|
|
43355
|
-
|
|
43356
|
-
|
|
43357
|
-
|
|
43358
|
-
|
|
43359
|
-
}
|
|
43360
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
43361
|
-
if (optionalFields !== undefined) {
|
|
43362
|
-
coercedConfig.optionalFields = optionalFields;
|
|
43363
|
-
}
|
|
43364
|
-
const recordTypeId = config.recordTypeId;
|
|
43365
|
-
if (recordTypeId !== undefined) {
|
|
43366
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
43367
|
-
}
|
|
43368
|
-
return coercedConfig;
|
|
42051
|
+
return coerceConfig$E(config, {
|
|
42052
|
+
'objectApiName': getObjectApiName$1,
|
|
42053
|
+
'optionalFields': getFieldApiNamesArray,
|
|
42054
|
+
'recordTypeId': 1,
|
|
42055
|
+
});
|
|
43369
42056
|
}
|
|
43370
42057
|
function typeCheckConfig$6(untrustedConfig) {
|
|
43371
42058
|
const config = {};
|
|
43372
|
-
|
|
43373
|
-
|
|
43374
|
-
|
|
43375
|
-
}
|
|
43376
|
-
|
|
43377
|
-
|
|
43378
|
-
|
|
43379
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
43380
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
43381
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
43382
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
43383
|
-
}
|
|
43384
|
-
}
|
|
43385
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
43386
|
-
}
|
|
43387
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
43388
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
43389
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
43390
|
-
}
|
|
42059
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
42060
|
+
objectApiName: 0 /* String */,
|
|
42061
|
+
recordTypeId: 0 /* String */,
|
|
42062
|
+
});
|
|
42063
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
42064
|
+
optionalFields: 0 /* String */,
|
|
42065
|
+
});
|
|
43391
42066
|
return config;
|
|
43392
42067
|
}
|
|
43393
42068
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -43694,19 +42369,15 @@ function createResourceParams$3(config) {
|
|
|
43694
42369
|
return resourceParams;
|
|
43695
42370
|
}
|
|
43696
42371
|
function coerceConfig$1(config) {
|
|
43697
|
-
|
|
43698
|
-
|
|
43699
|
-
|
|
43700
|
-
coercedConfig.recordId = recordId;
|
|
43701
|
-
}
|
|
43702
|
-
return coercedConfig;
|
|
42372
|
+
return coerceConfig$E(config, {
|
|
42373
|
+
'recordId': getRecordId18,
|
|
42374
|
+
});
|
|
43703
42375
|
}
|
|
43704
42376
|
function typeCheckConfig$5(untrustedConfig) {
|
|
43705
42377
|
const config = {};
|
|
43706
|
-
|
|
43707
|
-
|
|
43708
|
-
|
|
43709
|
-
}
|
|
42378
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
42379
|
+
recordId: 0 /* String */,
|
|
42380
|
+
});
|
|
43710
42381
|
return config;
|
|
43711
42382
|
}
|
|
43712
42383
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -43813,67 +42484,28 @@ function createResourceParams$2(config) {
|
|
|
43813
42484
|
return resourceParams;
|
|
43814
42485
|
}
|
|
43815
42486
|
function coerceConfig(config) {
|
|
43816
|
-
|
|
43817
|
-
|
|
43818
|
-
|
|
43819
|
-
|
|
43820
|
-
|
|
43821
|
-
|
|
43822
|
-
|
|
43823
|
-
|
|
43824
|
-
|
|
43825
|
-
|
|
43826
|
-
if (triggerUserEmail !== undefined) {
|
|
43827
|
-
coercedConfig.triggerUserEmail = triggerUserEmail;
|
|
43828
|
-
}
|
|
43829
|
-
const useDefaultRule = config.useDefaultRule;
|
|
43830
|
-
if (useDefaultRule !== undefined) {
|
|
43831
|
-
coercedConfig.useDefaultRule = useDefaultRule;
|
|
43832
|
-
}
|
|
43833
|
-
const allowSaveOnDuplicate = config.allowSaveOnDuplicate;
|
|
43834
|
-
if (allowSaveOnDuplicate !== undefined) {
|
|
43835
|
-
coercedConfig.allowSaveOnDuplicate = allowSaveOnDuplicate;
|
|
43836
|
-
}
|
|
43837
|
-
const apiName = config.apiName;
|
|
43838
|
-
if (apiName !== undefined) {
|
|
43839
|
-
coercedConfig.apiName = apiName;
|
|
43840
|
-
}
|
|
43841
|
-
const fields = config.fields;
|
|
43842
|
-
if (fields !== undefined) {
|
|
43843
|
-
coercedConfig.fields = fields;
|
|
43844
|
-
}
|
|
43845
|
-
const ifUnmodifiedSince = config.ifUnmodifiedSince;
|
|
43846
|
-
if (ifUnmodifiedSince !== undefined) {
|
|
43847
|
-
coercedConfig.ifUnmodifiedSince = ifUnmodifiedSince;
|
|
43848
|
-
}
|
|
43849
|
-
return coercedConfig;
|
|
42487
|
+
return coerceConfig$E(config, {
|
|
42488
|
+
'recordId': getRecordId18,
|
|
42489
|
+
'triggerOtherEmail': 1,
|
|
42490
|
+
'triggerUserEmail': 1,
|
|
42491
|
+
'useDefaultRule': 1,
|
|
42492
|
+
'allowSaveOnDuplicate': 1,
|
|
42493
|
+
'apiName': 1,
|
|
42494
|
+
'fields': 1,
|
|
42495
|
+
'ifUnmodifiedSince': 1,
|
|
42496
|
+
});
|
|
43850
42497
|
}
|
|
43851
42498
|
function typeCheckConfig$4(untrustedConfig) {
|
|
43852
42499
|
const config = {};
|
|
43853
|
-
|
|
43854
|
-
|
|
43855
|
-
|
|
43856
|
-
|
|
43857
|
-
|
|
43858
|
-
|
|
43859
|
-
|
|
43860
|
-
|
|
43861
|
-
|
|
43862
|
-
if (typeof untrustedConfig_triggerUserEmail === 'boolean') {
|
|
43863
|
-
config.triggerUserEmail = untrustedConfig_triggerUserEmail;
|
|
43864
|
-
}
|
|
43865
|
-
const untrustedConfig_useDefaultRule = untrustedConfig.useDefaultRule;
|
|
43866
|
-
if (typeof untrustedConfig_useDefaultRule === 'boolean') {
|
|
43867
|
-
config.useDefaultRule = untrustedConfig_useDefaultRule;
|
|
43868
|
-
}
|
|
43869
|
-
const untrustedConfig_allowSaveOnDuplicate = untrustedConfig.allowSaveOnDuplicate;
|
|
43870
|
-
if (typeof untrustedConfig_allowSaveOnDuplicate === 'boolean') {
|
|
43871
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
43872
|
-
}
|
|
43873
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
43874
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
43875
|
-
config.apiName = untrustedConfig_apiName;
|
|
43876
|
-
}
|
|
42500
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
42501
|
+
recordId: 0 /* String */,
|
|
42502
|
+
triggerOtherEmail: 1 /* Boolean */,
|
|
42503
|
+
triggerUserEmail: 1 /* Boolean */,
|
|
42504
|
+
useDefaultRule: 1 /* Boolean */,
|
|
42505
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
42506
|
+
apiName: 0 /* String */,
|
|
42507
|
+
ifUnmodifiedSince: 0 /* String */,
|
|
42508
|
+
});
|
|
43877
42509
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
43878
42510
|
if (untrustedIsObject$2(untrustedConfig_fields)) {
|
|
43879
42511
|
const untrustedConfig_fields_object = {};
|
|
@@ -43906,10 +42538,6 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
43906
42538
|
config.fields = untrustedConfig_fields_object;
|
|
43907
42539
|
}
|
|
43908
42540
|
}
|
|
43909
|
-
const untrustedConfig_ifUnmodifiedSince = untrustedConfig.ifUnmodifiedSince;
|
|
43910
|
-
if (typeof untrustedConfig_ifUnmodifiedSince === 'string') {
|
|
43911
|
-
config.ifUnmodifiedSince = untrustedConfig_ifUnmodifiedSince;
|
|
43912
|
-
}
|
|
43913
42541
|
return config;
|
|
43914
42542
|
}
|
|
43915
42543
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -44306,14 +42934,10 @@ function buildNetworkSnapshot$Z(luvio, config, options) {
|
|
|
44306
42934
|
|
|
44307
42935
|
function typeCheckConfig$3(untrustedConfig) {
|
|
44308
42936
|
const config = {};
|
|
44309
|
-
|
|
44310
|
-
|
|
44311
|
-
|
|
44312
|
-
}
|
|
44313
|
-
const untrustedConfig_title = untrustedConfig.title;
|
|
44314
|
-
if (typeof untrustedConfig_title === 'string') {
|
|
44315
|
-
config.title = untrustedConfig_title;
|
|
44316
|
-
}
|
|
42937
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
42938
|
+
description: 0 /* String */,
|
|
42939
|
+
title: 0 /* String */,
|
|
42940
|
+
});
|
|
44317
42941
|
return config;
|
|
44318
42942
|
}
|
|
44319
42943
|
|
|
@@ -44383,18 +43007,11 @@ function createDispatchResourceRequestContext$1(requestContext) {
|
|
|
44383
43007
|
|
|
44384
43008
|
function typeCheckConfig$1$1(untrustedConfig) {
|
|
44385
43009
|
const config = {};
|
|
44386
|
-
|
|
44387
|
-
|
|
44388
|
-
|
|
44389
|
-
|
|
44390
|
-
|
|
44391
|
-
if (typeof untrustedConfig_description === 'string') {
|
|
44392
|
-
config.description = untrustedConfig_description;
|
|
44393
|
-
}
|
|
44394
|
-
const untrustedConfig_title = untrustedConfig.title;
|
|
44395
|
-
if (typeof untrustedConfig_title === 'string') {
|
|
44396
|
-
config.title = untrustedConfig_title;
|
|
44397
|
-
}
|
|
43010
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
43011
|
+
contentDocumentId: 0 /* String */,
|
|
43012
|
+
description: 0 /* String */,
|
|
43013
|
+
title: 0 /* String */,
|
|
43014
|
+
});
|
|
44398
43015
|
return config;
|
|
44399
43016
|
}
|
|
44400
43017
|
|
|
@@ -44939,7 +43556,7 @@ withDefaultLuvio((luvio) => {
|
|
|
44939
43556
|
});
|
|
44940
43557
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory));
|
|
44941
43558
|
});
|
|
44942
|
-
// version: 1.
|
|
43559
|
+
// version: 1.208.0-027673bd6
|
|
44943
43560
|
|
|
44944
43561
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44945
43562
|
|
|
@@ -61180,7 +59797,7 @@ register({
|
|
|
61180
59797
|
id: '@salesforce/lds-network-adapter',
|
|
61181
59798
|
instrument: instrument$1,
|
|
61182
59799
|
});
|
|
61183
|
-
// version: 1.
|
|
59800
|
+
// version: 1.208.0-75bd0667c
|
|
61184
59801
|
|
|
61185
59802
|
const { create: create$2, keys: keys$2 } = Object;
|
|
61186
59803
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -78523,7 +77140,7 @@ register({
|
|
|
78523
77140
|
configuration: { ...configurationForGraphQLAdapters },
|
|
78524
77141
|
instrument,
|
|
78525
77142
|
});
|
|
78526
|
-
// version: 1.
|
|
77143
|
+
// version: 1.208.0-027673bd6
|
|
78527
77144
|
|
|
78528
77145
|
// On core the unstable adapters are re-exported with different names,
|
|
78529
77146
|
|
|
@@ -80770,7 +79387,7 @@ withDefaultLuvio((luvio) => {
|
|
|
80770
79387
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
80771
79388
|
graphQLImperative = ldsAdapter;
|
|
80772
79389
|
});
|
|
80773
|
-
// version: 1.
|
|
79390
|
+
// version: 1.208.0-027673bd6
|
|
80774
79391
|
|
|
80775
79392
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
80776
79393
|
__proto__: null,
|
|
@@ -81459,4 +80076,4 @@ const { luvio } = getRuntime();
|
|
|
81459
80076
|
setDefaultLuvio({ luvio });
|
|
81460
80077
|
|
|
81461
80078
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
81462
|
-
// version: 1.
|
|
80079
|
+
// version: 1.208.0-75bd0667c
|