@salesforce/lds-adapters-uiapi 1.207.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/es/es2018/types/src/main.d.ts +1 -0
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +1 -1
- package/dist/es/es2018/uiapi-records-service.js +644 -2112
- package/package.json +1 -1
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +642 -2106
- package/sfdc/uiapi-static-functions.js +9 -1
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createInfiniteScrollingWireAdapterConstructor, createImperativeAdapter, bindWireRefresh, refresh as refresh$2 } from 'force/ldsBindings';
|
|
16
16
|
import { register, withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, StoreKeyMap, StoreKeySet, deepFreeze, coerceAdapterRequestContext, Wildcard } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, coerceConfig as coerceConfig$E, typeCheckScalars, typeCheckArrayOfScalars, StoreKeyMap, StoreKeySet, deepFreeze, coerceAdapterRequestContext, Wildcard } from 'force/luvioEngine';
|
|
18
18
|
export { createRecordInputFilteredByEditedFields, generateRecordInputForCreate, generateRecordInputForUpdate, getFieldDisplayValue, getFieldValue, getRecordInput } from './uiapi-static-functions';
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -5039,125 +5039,33 @@ function createResourceParams$V(config) {
|
|
|
5039
5039
|
return resourceParams;
|
|
5040
5040
|
}
|
|
5041
5041
|
function coerceConfig$D(config) {
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
coercedConfig.fields = fields;
|
|
5054
|
-
}
|
|
5055
|
-
const forms = config.forms;
|
|
5056
|
-
if (forms !== undefined) {
|
|
5057
|
-
coercedConfig.forms = forms;
|
|
5058
|
-
}
|
|
5059
|
-
const layoutTypes = toSortedStringArray(config.layoutTypes);
|
|
5060
|
-
if (layoutTypes !== undefined) {
|
|
5061
|
-
coercedConfig.layoutTypes = layoutTypes;
|
|
5062
|
-
}
|
|
5063
|
-
const modes = toSortedStringArray(config.modes);
|
|
5064
|
-
if (modes !== undefined) {
|
|
5065
|
-
coercedConfig.modes = modes;
|
|
5066
|
-
}
|
|
5067
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
5068
|
-
if (optionalFields !== undefined) {
|
|
5069
|
-
coercedConfig.optionalFields = optionalFields;
|
|
5070
|
-
}
|
|
5071
|
-
const pageSize = config.pageSize;
|
|
5072
|
-
if (pageSize !== undefined) {
|
|
5073
|
-
coercedConfig.pageSize = pageSize;
|
|
5074
|
-
}
|
|
5075
|
-
const updateMru = config.updateMru;
|
|
5076
|
-
if (updateMru !== undefined) {
|
|
5077
|
-
coercedConfig.updateMru = updateMru;
|
|
5078
|
-
}
|
|
5079
|
-
return coercedConfig;
|
|
5042
|
+
return coerceConfig$E(config, {
|
|
5043
|
+
'recordId': getRecordId18,
|
|
5044
|
+
'childRelationships': 1,
|
|
5045
|
+
'fields': getFieldApiNamesArray,
|
|
5046
|
+
'forms': 1,
|
|
5047
|
+
'layoutTypes': toSortedStringArray,
|
|
5048
|
+
'modes': toSortedStringArray,
|
|
5049
|
+
'optionalFields': getFieldApiNamesArray,
|
|
5050
|
+
'pageSize': 1,
|
|
5051
|
+
'updateMru': 1,
|
|
5052
|
+
});
|
|
5080
5053
|
}
|
|
5081
5054
|
function typeCheckConfig$$(untrustedConfig) {
|
|
5082
5055
|
const config = {};
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
config.childRelationships = untrustedConfig_childRelationships_array;
|
|
5097
|
-
}
|
|
5098
|
-
const untrustedConfig_fields = untrustedConfig.fields;
|
|
5099
|
-
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
5100
|
-
const untrustedConfig_fields_array = [];
|
|
5101
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
5102
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
5103
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
5104
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
5105
|
-
}
|
|
5106
|
-
}
|
|
5107
|
-
config.fields = untrustedConfig_fields_array;
|
|
5108
|
-
}
|
|
5109
|
-
const untrustedConfig_forms = untrustedConfig.forms;
|
|
5110
|
-
if (ArrayIsArray$1(untrustedConfig_forms)) {
|
|
5111
|
-
const untrustedConfig_forms_array = [];
|
|
5112
|
-
for (let i = 0, arrayLength = untrustedConfig_forms.length; i < arrayLength; i++) {
|
|
5113
|
-
const untrustedConfig_forms_item = untrustedConfig_forms[i];
|
|
5114
|
-
if (typeof untrustedConfig_forms_item === 'string') {
|
|
5115
|
-
untrustedConfig_forms_array.push(untrustedConfig_forms_item);
|
|
5116
|
-
}
|
|
5117
|
-
}
|
|
5118
|
-
config.forms = untrustedConfig_forms_array;
|
|
5119
|
-
}
|
|
5120
|
-
const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
|
|
5121
|
-
if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
|
|
5122
|
-
const untrustedConfig_layoutTypes_array = [];
|
|
5123
|
-
for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
|
|
5124
|
-
const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
|
|
5125
|
-
if (typeof untrustedConfig_layoutTypes_item === 'string') {
|
|
5126
|
-
untrustedConfig_layoutTypes_array.push(untrustedConfig_layoutTypes_item);
|
|
5127
|
-
}
|
|
5128
|
-
}
|
|
5129
|
-
config.layoutTypes = untrustedConfig_layoutTypes_array;
|
|
5130
|
-
}
|
|
5131
|
-
const untrustedConfig_modes = untrustedConfig.modes;
|
|
5132
|
-
if (ArrayIsArray$1(untrustedConfig_modes)) {
|
|
5133
|
-
const untrustedConfig_modes_array = [];
|
|
5134
|
-
for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
|
|
5135
|
-
const untrustedConfig_modes_item = untrustedConfig_modes[i];
|
|
5136
|
-
if (typeof untrustedConfig_modes_item === 'string') {
|
|
5137
|
-
untrustedConfig_modes_array.push(untrustedConfig_modes_item);
|
|
5138
|
-
}
|
|
5139
|
-
}
|
|
5140
|
-
config.modes = untrustedConfig_modes_array;
|
|
5141
|
-
}
|
|
5142
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
5143
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
5144
|
-
const untrustedConfig_optionalFields_array = [];
|
|
5145
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
5146
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
5147
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
5148
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
5149
|
-
}
|
|
5150
|
-
}
|
|
5151
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
5152
|
-
}
|
|
5153
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
5154
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
5155
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
5156
|
-
}
|
|
5157
|
-
const untrustedConfig_updateMru = untrustedConfig.updateMru;
|
|
5158
|
-
if (typeof untrustedConfig_updateMru === 'boolean') {
|
|
5159
|
-
config.updateMru = untrustedConfig_updateMru;
|
|
5160
|
-
}
|
|
5056
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
5057
|
+
recordId: 0 /* String */,
|
|
5058
|
+
pageSize: 3 /* Integer */,
|
|
5059
|
+
updateMru: 1 /* Boolean */,
|
|
5060
|
+
});
|
|
5061
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
5062
|
+
childRelationships: 0 /* String */,
|
|
5063
|
+
fields: 0 /* String */,
|
|
5064
|
+
forms: 0 /* String */,
|
|
5065
|
+
layoutTypes: 0 /* String */,
|
|
5066
|
+
modes: 0 /* String */,
|
|
5067
|
+
optionalFields: 0 /* String */,
|
|
5068
|
+
});
|
|
5161
5069
|
return config;
|
|
5162
5070
|
}
|
|
5163
5071
|
function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
@@ -6702,88 +6610,29 @@ function createResourceParams$T(config) {
|
|
|
6702
6610
|
return resourceParams;
|
|
6703
6611
|
}
|
|
6704
6612
|
function coerceConfig$C(config) {
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
}
|
|
6714
|
-
const fields = getFieldApiNamesArray(config.fields);
|
|
6715
|
-
if (fields !== undefined) {
|
|
6716
|
-
coercedConfig.fields = fields;
|
|
6717
|
-
}
|
|
6718
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
6719
|
-
if (optionalFields !== undefined) {
|
|
6720
|
-
coercedConfig.optionalFields = optionalFields;
|
|
6721
|
-
}
|
|
6722
|
-
const pageSize = config.pageSize;
|
|
6723
|
-
if (pageSize !== undefined) {
|
|
6724
|
-
coercedConfig.pageSize = pageSize;
|
|
6725
|
-
}
|
|
6726
|
-
const pageToken = config.pageToken;
|
|
6727
|
-
if (pageToken !== undefined) {
|
|
6728
|
-
coercedConfig.pageToken = pageToken;
|
|
6729
|
-
}
|
|
6730
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
6731
|
-
if (sortBy !== undefined) {
|
|
6732
|
-
coercedConfig.sortBy = sortBy;
|
|
6733
|
-
}
|
|
6734
|
-
return coercedConfig;
|
|
6613
|
+
return coerceConfig$E(config, {
|
|
6614
|
+
'listViewApiName': 1,
|
|
6615
|
+
'objectApiName': getObjectApiName$1,
|
|
6616
|
+
'fields': getFieldApiNamesArray,
|
|
6617
|
+
'optionalFields': getFieldApiNamesArray,
|
|
6618
|
+
'pageSize': 1,
|
|
6619
|
+
'pageToken': 1,
|
|
6620
|
+
'sortBy': getFieldApiNamesArray,
|
|
6621
|
+
});
|
|
6735
6622
|
}
|
|
6736
6623
|
function typeCheckConfig$_(untrustedConfig) {
|
|
6737
6624
|
const config = {};
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
6750
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
6751
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
6752
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
6753
|
-
}
|
|
6754
|
-
}
|
|
6755
|
-
config.fields = untrustedConfig_fields_array;
|
|
6756
|
-
}
|
|
6757
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
6758
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
6759
|
-
const untrustedConfig_optionalFields_array = [];
|
|
6760
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
6761
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
6762
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
6763
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
6764
|
-
}
|
|
6765
|
-
}
|
|
6766
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
6767
|
-
}
|
|
6768
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
6769
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
6770
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
6771
|
-
}
|
|
6772
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
6773
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
6774
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
6775
|
-
}
|
|
6776
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
6777
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
6778
|
-
const untrustedConfig_sortBy_array = [];
|
|
6779
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
6780
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
6781
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
6782
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
6783
|
-
}
|
|
6784
|
-
}
|
|
6785
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
6786
|
-
}
|
|
6625
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
6626
|
+
listViewApiName: 0 /* String */,
|
|
6627
|
+
objectApiName: 0 /* String */,
|
|
6628
|
+
pageSize: 3 /* Integer */,
|
|
6629
|
+
pageToken: 0 /* String */,
|
|
6630
|
+
});
|
|
6631
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
6632
|
+
fields: 0 /* String */,
|
|
6633
|
+
optionalFields: 0 /* String */,
|
|
6634
|
+
sortBy: 0 /* String */,
|
|
6635
|
+
});
|
|
6787
6636
|
return config;
|
|
6788
6637
|
}
|
|
6789
6638
|
function validateAdapterConfig$$(untrustedConfig, configPropertyNames) {
|
|
@@ -6841,80 +6690,27 @@ function createResourceParams$S(config) {
|
|
|
6841
6690
|
return resourceParams;
|
|
6842
6691
|
}
|
|
6843
6692
|
function coerceConfig$B(config) {
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
6852
|
-
}
|
|
6853
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
6854
|
-
if (optionalFields !== undefined) {
|
|
6855
|
-
coercedConfig.optionalFields = optionalFields;
|
|
6856
|
-
}
|
|
6857
|
-
const pageSize = config.pageSize;
|
|
6858
|
-
if (pageSize !== undefined) {
|
|
6859
|
-
coercedConfig.pageSize = pageSize;
|
|
6860
|
-
}
|
|
6861
|
-
const pageToken = config.pageToken;
|
|
6862
|
-
if (pageToken !== undefined) {
|
|
6863
|
-
coercedConfig.pageToken = pageToken;
|
|
6864
|
-
}
|
|
6865
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
6866
|
-
if (sortBy !== undefined) {
|
|
6867
|
-
coercedConfig.sortBy = sortBy;
|
|
6868
|
-
}
|
|
6869
|
-
return coercedConfig;
|
|
6693
|
+
return coerceConfig$E(config, {
|
|
6694
|
+
'listViewId': 1,
|
|
6695
|
+
'fields': getFieldApiNamesArray,
|
|
6696
|
+
'optionalFields': getFieldApiNamesArray,
|
|
6697
|
+
'pageSize': 1,
|
|
6698
|
+
'pageToken': 1,
|
|
6699
|
+
'sortBy': getFieldApiNamesArray,
|
|
6700
|
+
});
|
|
6870
6701
|
}
|
|
6871
6702
|
function typeCheckConfig$Z(untrustedConfig) {
|
|
6872
6703
|
const config = {};
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
6884
|
-
}
|
|
6885
|
-
}
|
|
6886
|
-
config.fields = untrustedConfig_fields_array;
|
|
6887
|
-
}
|
|
6888
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
6889
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
6890
|
-
const untrustedConfig_optionalFields_array = [];
|
|
6891
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
6892
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
6893
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
6894
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
6895
|
-
}
|
|
6896
|
-
}
|
|
6897
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
6898
|
-
}
|
|
6899
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
6900
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
6901
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
6902
|
-
}
|
|
6903
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
6904
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
6905
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
6906
|
-
}
|
|
6907
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
6908
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
6909
|
-
const untrustedConfig_sortBy_array = [];
|
|
6910
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
6911
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
6912
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
6913
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
6914
|
-
}
|
|
6915
|
-
}
|
|
6916
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
6917
|
-
}
|
|
6704
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
6705
|
+
listViewId: 0 /* String */,
|
|
6706
|
+
pageSize: 3 /* Integer */,
|
|
6707
|
+
pageToken: 0 /* String */,
|
|
6708
|
+
});
|
|
6709
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
6710
|
+
fields: 0 /* String */,
|
|
6711
|
+
optionalFields: 0 /* String */,
|
|
6712
|
+
sortBy: 0 /* String */,
|
|
6713
|
+
});
|
|
6918
6714
|
return config;
|
|
6919
6715
|
}
|
|
6920
6716
|
function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
@@ -8057,28 +7853,13 @@ function createResourceParams$R(config) {
|
|
|
8057
7853
|
return resourceParams;
|
|
8058
7854
|
}
|
|
8059
7855
|
function coerceConfig$A(config) {
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
coercedConfig.pageSize = pageSize;
|
|
8068
|
-
}
|
|
8069
|
-
const pageToken = config.pageToken;
|
|
8070
|
-
if (pageToken !== undefined) {
|
|
8071
|
-
coercedConfig.pageToken = pageToken;
|
|
8072
|
-
}
|
|
8073
|
-
const q = config.q;
|
|
8074
|
-
if (q !== undefined) {
|
|
8075
|
-
coercedConfig.q = q;
|
|
8076
|
-
}
|
|
8077
|
-
const recentListsOnly = config.recentListsOnly;
|
|
8078
|
-
if (recentListsOnly !== undefined) {
|
|
8079
|
-
coercedConfig.recentListsOnly = recentListsOnly;
|
|
8080
|
-
}
|
|
8081
|
-
return coercedConfig;
|
|
7856
|
+
return coerceConfig$E(config, {
|
|
7857
|
+
'objectApiName': getObjectApiName$1,
|
|
7858
|
+
'pageSize': 1,
|
|
7859
|
+
'pageToken': 1,
|
|
7860
|
+
'q': 1,
|
|
7861
|
+
'recentListsOnly': 1,
|
|
7862
|
+
});
|
|
8082
7863
|
}
|
|
8083
7864
|
function keyBuilder$1L(luvio, config) {
|
|
8084
7865
|
const resourceParams = createResourceParams$R(config);
|
|
@@ -8086,26 +7867,13 @@ function keyBuilder$1L(luvio, config) {
|
|
|
8086
7867
|
}
|
|
8087
7868
|
function typeCheckConfig$Y(untrustedConfig) {
|
|
8088
7869
|
const config = {};
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
}
|
|
8097
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
8098
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
8099
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
8100
|
-
}
|
|
8101
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
8102
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
8103
|
-
config.q = untrustedConfig_q;
|
|
8104
|
-
}
|
|
8105
|
-
const untrustedConfig_recentListsOnly = untrustedConfig.recentListsOnly;
|
|
8106
|
-
if (typeof untrustedConfig_recentListsOnly === 'boolean') {
|
|
8107
|
-
config.recentListsOnly = untrustedConfig_recentListsOnly;
|
|
8108
|
-
}
|
|
7870
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
7871
|
+
objectApiName: 0 /* String */,
|
|
7872
|
+
pageSize: 3 /* Integer */,
|
|
7873
|
+
pageToken: 0 /* String */,
|
|
7874
|
+
q: 0 /* String */,
|
|
7875
|
+
recentListsOnly: 1 /* Boolean */,
|
|
7876
|
+
});
|
|
8109
7877
|
return config;
|
|
8110
7878
|
}
|
|
8111
7879
|
function validateAdapterConfig$Z(untrustedConfig, configPropertyNames) {
|
|
@@ -8320,80 +8088,27 @@ function createResourceParams$Q(config) {
|
|
|
8320
8088
|
return resourceParams;
|
|
8321
8089
|
}
|
|
8322
8090
|
function coerceConfig$z(config) {
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
}
|
|
8332
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
8333
|
-
if (optionalFields !== undefined) {
|
|
8334
|
-
coercedConfig.optionalFields = optionalFields;
|
|
8335
|
-
}
|
|
8336
|
-
const pageSize = config.pageSize;
|
|
8337
|
-
if (pageSize !== undefined) {
|
|
8338
|
-
coercedConfig.pageSize = pageSize;
|
|
8339
|
-
}
|
|
8340
|
-
const pageToken = config.pageToken;
|
|
8341
|
-
if (pageToken !== undefined) {
|
|
8342
|
-
coercedConfig.pageToken = pageToken;
|
|
8343
|
-
}
|
|
8344
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
8345
|
-
if (sortBy !== undefined) {
|
|
8346
|
-
coercedConfig.sortBy = sortBy;
|
|
8347
|
-
}
|
|
8348
|
-
return coercedConfig;
|
|
8091
|
+
return coerceConfig$E(config, {
|
|
8092
|
+
'objectApiName': getObjectApiName$1,
|
|
8093
|
+
'fields': getFieldApiNamesArray,
|
|
8094
|
+
'optionalFields': getFieldApiNamesArray,
|
|
8095
|
+
'pageSize': 1,
|
|
8096
|
+
'pageToken': 1,
|
|
8097
|
+
'sortBy': getFieldApiNamesArray,
|
|
8098
|
+
});
|
|
8349
8099
|
}
|
|
8350
8100
|
function typeCheckConfig$X(untrustedConfig) {
|
|
8351
8101
|
const config = {};
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
8363
|
-
}
|
|
8364
|
-
}
|
|
8365
|
-
config.fields = untrustedConfig_fields_array;
|
|
8366
|
-
}
|
|
8367
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
8368
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
8369
|
-
const untrustedConfig_optionalFields_array = [];
|
|
8370
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
8371
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
8372
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
8373
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
8374
|
-
}
|
|
8375
|
-
}
|
|
8376
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
8377
|
-
}
|
|
8378
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
8379
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
8380
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
8381
|
-
}
|
|
8382
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
8383
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
8384
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
8385
|
-
}
|
|
8386
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
8387
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
8388
|
-
const untrustedConfig_sortBy_array = [];
|
|
8389
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
8390
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
8391
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
8392
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
8393
|
-
}
|
|
8394
|
-
}
|
|
8395
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
8396
|
-
}
|
|
8102
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
8103
|
+
objectApiName: 0 /* String */,
|
|
8104
|
+
pageSize: 3 /* Integer */,
|
|
8105
|
+
pageToken: 0 /* String */,
|
|
8106
|
+
});
|
|
8107
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
8108
|
+
fields: 0 /* String */,
|
|
8109
|
+
optionalFields: 0 /* String */,
|
|
8110
|
+
sortBy: 0 /* String */,
|
|
8111
|
+
});
|
|
8397
8112
|
return config;
|
|
8398
8113
|
}
|
|
8399
8114
|
function validateAdapterConfig$Y(untrustedConfig, configPropertyNames) {
|
|
@@ -10178,12 +9893,9 @@ function createResourceParams$P(config) {
|
|
|
10178
9893
|
return resourceParams;
|
|
10179
9894
|
}
|
|
10180
9895
|
function coerceConfig$y(config) {
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
coercedConfig.objectApiName = objectApiName;
|
|
10185
|
-
}
|
|
10186
|
-
return coercedConfig;
|
|
9896
|
+
return coerceConfig$E(config, {
|
|
9897
|
+
'objectApiName': getObjectApiName$1,
|
|
9898
|
+
});
|
|
10187
9899
|
}
|
|
10188
9900
|
function keyBuilder$1H(luvio, config) {
|
|
10189
9901
|
const resourceParams = createResourceParams$P(config);
|
|
@@ -10191,10 +9903,9 @@ function keyBuilder$1H(luvio, config) {
|
|
|
10191
9903
|
}
|
|
10192
9904
|
function typeCheckConfig$W(untrustedConfig) {
|
|
10193
9905
|
const config = {};
|
|
10194
|
-
|
|
10195
|
-
|
|
10196
|
-
|
|
10197
|
-
}
|
|
9906
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
9907
|
+
objectApiName: 0 /* String */,
|
|
9908
|
+
});
|
|
10198
9909
|
return config;
|
|
10199
9910
|
}
|
|
10200
9911
|
function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
|
|
@@ -11288,110 +10999,31 @@ function getRecordId18Array(value) {
|
|
|
11288
10999
|
}
|
|
11289
11000
|
|
|
11290
11001
|
function coerceConfig$x(config) {
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
|
-
|
|
11296
|
-
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
|
-
|
|
11300
|
-
|
|
11301
|
-
if (formFactor !== undefined) {
|
|
11302
|
-
coercedConfig.formFactor = formFactor;
|
|
11303
|
-
}
|
|
11304
|
-
const layoutTypes = toSortedStringArray(config.layoutTypes);
|
|
11305
|
-
if (layoutTypes !== undefined) {
|
|
11306
|
-
coercedConfig.layoutTypes = layoutTypes;
|
|
11307
|
-
}
|
|
11308
|
-
const modes = toSortedStringArray(config.modes);
|
|
11309
|
-
if (modes !== undefined) {
|
|
11310
|
-
coercedConfig.modes = modes;
|
|
11311
|
-
}
|
|
11312
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
11313
|
-
if (optionalFields !== undefined) {
|
|
11314
|
-
coercedConfig.optionalFields = optionalFields;
|
|
11315
|
-
}
|
|
11316
|
-
const pageSize = config.pageSize;
|
|
11317
|
-
if (pageSize !== undefined) {
|
|
11318
|
-
coercedConfig.pageSize = pageSize;
|
|
11319
|
-
}
|
|
11320
|
-
const updateMru = config.updateMru;
|
|
11321
|
-
if (updateMru !== undefined) {
|
|
11322
|
-
coercedConfig.updateMru = updateMru;
|
|
11323
|
-
}
|
|
11324
|
-
return coercedConfig;
|
|
11002
|
+
return coerceConfig$E(config, {
|
|
11003
|
+
'recordIds': getRecordId18Array,
|
|
11004
|
+
'childRelationships': 1,
|
|
11005
|
+
'formFactor': 1,
|
|
11006
|
+
'layoutTypes': toSortedStringArray,
|
|
11007
|
+
'modes': toSortedStringArray,
|
|
11008
|
+
'optionalFields': getFieldApiNamesArray,
|
|
11009
|
+
'pageSize': 1,
|
|
11010
|
+
'updateMru': 1,
|
|
11011
|
+
});
|
|
11325
11012
|
}
|
|
11326
11013
|
function typeCheckConfig$V(untrustedConfig) {
|
|
11327
11014
|
const config = {};
|
|
11328
|
-
|
|
11329
|
-
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
|
|
11336
|
-
|
|
11337
|
-
|
|
11338
|
-
|
|
11339
|
-
|
|
11340
|
-
if (ArrayIsArray$1(untrustedConfig_childRelationships)) {
|
|
11341
|
-
const untrustedConfig_childRelationships_array = [];
|
|
11342
|
-
for (let i = 0, arrayLength = untrustedConfig_childRelationships.length; i < arrayLength; i++) {
|
|
11343
|
-
const untrustedConfig_childRelationships_item = untrustedConfig_childRelationships[i];
|
|
11344
|
-
if (typeof untrustedConfig_childRelationships_item === 'string') {
|
|
11345
|
-
untrustedConfig_childRelationships_array.push(untrustedConfig_childRelationships_item);
|
|
11346
|
-
}
|
|
11347
|
-
}
|
|
11348
|
-
config.childRelationships = untrustedConfig_childRelationships_array;
|
|
11349
|
-
}
|
|
11350
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
11351
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
11352
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
11353
|
-
}
|
|
11354
|
-
const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
|
|
11355
|
-
if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
|
|
11356
|
-
const untrustedConfig_layoutTypes_array = [];
|
|
11357
|
-
for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
|
|
11358
|
-
const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
|
|
11359
|
-
if (typeof untrustedConfig_layoutTypes_item === 'string') {
|
|
11360
|
-
untrustedConfig_layoutTypes_array.push(untrustedConfig_layoutTypes_item);
|
|
11361
|
-
}
|
|
11362
|
-
}
|
|
11363
|
-
config.layoutTypes = untrustedConfig_layoutTypes_array;
|
|
11364
|
-
}
|
|
11365
|
-
const untrustedConfig_modes = untrustedConfig.modes;
|
|
11366
|
-
if (ArrayIsArray$1(untrustedConfig_modes)) {
|
|
11367
|
-
const untrustedConfig_modes_array = [];
|
|
11368
|
-
for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
|
|
11369
|
-
const untrustedConfig_modes_item = untrustedConfig_modes[i];
|
|
11370
|
-
if (typeof untrustedConfig_modes_item === 'string') {
|
|
11371
|
-
untrustedConfig_modes_array.push(untrustedConfig_modes_item);
|
|
11372
|
-
}
|
|
11373
|
-
}
|
|
11374
|
-
config.modes = untrustedConfig_modes_array;
|
|
11375
|
-
}
|
|
11376
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
11377
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
11378
|
-
const untrustedConfig_optionalFields_array = [];
|
|
11379
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
11380
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
11381
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
11382
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
11383
|
-
}
|
|
11384
|
-
}
|
|
11385
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
11386
|
-
}
|
|
11387
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
11388
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
11389
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
11390
|
-
}
|
|
11391
|
-
const untrustedConfig_updateMru = untrustedConfig.updateMru;
|
|
11392
|
-
if (typeof untrustedConfig_updateMru === 'boolean') {
|
|
11393
|
-
config.updateMru = untrustedConfig_updateMru;
|
|
11394
|
-
}
|
|
11015
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
11016
|
+
formFactor: 0 /* String */,
|
|
11017
|
+
pageSize: 3 /* Integer */,
|
|
11018
|
+
updateMru: 1 /* Boolean */,
|
|
11019
|
+
});
|
|
11020
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
11021
|
+
recordIds: 0 /* String */,
|
|
11022
|
+
childRelationships: 0 /* String */,
|
|
11023
|
+
layoutTypes: 0 /* String */,
|
|
11024
|
+
modes: 0 /* String */,
|
|
11025
|
+
optionalFields: 0 /* String */,
|
|
11026
|
+
});
|
|
11395
11027
|
return config;
|
|
11396
11028
|
}
|
|
11397
11029
|
function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
|
|
@@ -13634,28 +13266,13 @@ function createResourceParams$O(config) {
|
|
|
13634
13266
|
return resourceParams;
|
|
13635
13267
|
}
|
|
13636
13268
|
function coerceConfig$w(config) {
|
|
13637
|
-
|
|
13638
|
-
|
|
13639
|
-
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
coercedConfig.apiNames = apiNames;
|
|
13645
|
-
}
|
|
13646
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
13647
|
-
if (formFactor !== undefined) {
|
|
13648
|
-
coercedConfig.formFactor = formFactor;
|
|
13649
|
-
}
|
|
13650
|
-
const retrievalMode = config.retrievalMode;
|
|
13651
|
-
if (retrievalMode !== undefined) {
|
|
13652
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
13653
|
-
}
|
|
13654
|
-
const sections = toSortedStringArray(config.sections);
|
|
13655
|
-
if (sections !== undefined) {
|
|
13656
|
-
coercedConfig.sections = sections;
|
|
13657
|
-
}
|
|
13658
|
-
return coercedConfig;
|
|
13269
|
+
return coerceConfig$E(config, {
|
|
13270
|
+
'actionTypes': 1,
|
|
13271
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
13272
|
+
'formFactor': coerceFormFactor,
|
|
13273
|
+
'retrievalMode': 1,
|
|
13274
|
+
'sections': toSortedStringArray,
|
|
13275
|
+
});
|
|
13659
13276
|
}
|
|
13660
13277
|
function keyBuilder$1z(luvio, config) {
|
|
13661
13278
|
const resourceParams = createResourceParams$O(config);
|
|
@@ -13663,47 +13280,15 @@ function keyBuilder$1z(luvio, config) {
|
|
|
13663
13280
|
}
|
|
13664
13281
|
function typeCheckConfig$U(untrustedConfig) {
|
|
13665
13282
|
const config = {};
|
|
13666
|
-
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13670
|
-
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
13676
|
-
}
|
|
13677
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
13678
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
13679
|
-
const untrustedConfig_apiNames_array = [];
|
|
13680
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
13681
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
13682
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
13683
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
13684
|
-
}
|
|
13685
|
-
}
|
|
13686
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
13687
|
-
}
|
|
13688
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
13689
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
13690
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
13691
|
-
}
|
|
13692
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
13693
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
13694
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
13695
|
-
}
|
|
13696
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
13697
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
13698
|
-
const untrustedConfig_sections_array = [];
|
|
13699
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
13700
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
13701
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
13702
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
13703
|
-
}
|
|
13704
|
-
}
|
|
13705
|
-
config.sections = untrustedConfig_sections_array;
|
|
13706
|
-
}
|
|
13283
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
13284
|
+
formFactor: 0 /* String */,
|
|
13285
|
+
retrievalMode: 0 /* String */,
|
|
13286
|
+
});
|
|
13287
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
13288
|
+
actionTypes: 0 /* String */,
|
|
13289
|
+
apiNames: 0 /* String */,
|
|
13290
|
+
sections: 0 /* String */,
|
|
13291
|
+
});
|
|
13707
13292
|
return config;
|
|
13708
13293
|
}
|
|
13709
13294
|
function validateAdapterConfig$V(untrustedConfig, configPropertyNames) {
|
|
@@ -13975,10 +13560,9 @@ function keyBuilder$1w(luvio, config) {
|
|
|
13975
13560
|
}
|
|
13976
13561
|
function typeCheckConfig$T(untrustedConfig) {
|
|
13977
13562
|
const config = {};
|
|
13978
|
-
|
|
13979
|
-
|
|
13980
|
-
|
|
13981
|
-
}
|
|
13563
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
13564
|
+
actionApiName: 0 /* String */,
|
|
13565
|
+
});
|
|
13982
13566
|
return config;
|
|
13983
13567
|
}
|
|
13984
13568
|
function validateAdapterConfig$U(untrustedConfig, configPropertyNames) {
|
|
@@ -14170,24 +13754,12 @@ function createResourceParams$M(config) {
|
|
|
14170
13754
|
return resourceParams;
|
|
14171
13755
|
}
|
|
14172
13756
|
function coerceConfig$v(config) {
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
|
|
14179
|
-
if (actionTypes !== undefined) {
|
|
14180
|
-
coercedConfig.actionTypes = actionTypes;
|
|
14181
|
-
}
|
|
14182
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
14183
|
-
if (formFactor !== undefined) {
|
|
14184
|
-
coercedConfig.formFactor = formFactor;
|
|
14185
|
-
}
|
|
14186
|
-
const sections = toSortedStringArray(config.sections);
|
|
14187
|
-
if (sections !== undefined) {
|
|
14188
|
-
coercedConfig.sections = sections;
|
|
14189
|
-
}
|
|
14190
|
-
return coercedConfig;
|
|
13757
|
+
return coerceConfig$E(config, {
|
|
13758
|
+
'objectApiNames': getSortedObjectApiNamesArray,
|
|
13759
|
+
'actionTypes': toSortedStringArray,
|
|
13760
|
+
'formFactor': coerceFormFactor,
|
|
13761
|
+
'sections': toSortedStringArray,
|
|
13762
|
+
});
|
|
14191
13763
|
}
|
|
14192
13764
|
function keyBuilder$1u(luvio, config) {
|
|
14193
13765
|
const resourceParams = createResourceParams$M(config);
|
|
@@ -14195,43 +13767,14 @@ function keyBuilder$1u(luvio, config) {
|
|
|
14195
13767
|
}
|
|
14196
13768
|
function typeCheckConfig$S(untrustedConfig) {
|
|
14197
13769
|
const config = {};
|
|
14198
|
-
|
|
14199
|
-
|
|
14200
|
-
|
|
14201
|
-
|
|
14202
|
-
|
|
14203
|
-
|
|
14204
|
-
|
|
14205
|
-
|
|
14206
|
-
}
|
|
14207
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
14208
|
-
}
|
|
14209
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
14210
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
14211
|
-
const untrustedConfig_actionTypes_array = [];
|
|
14212
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
14213
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
14214
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
14215
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
14216
|
-
}
|
|
14217
|
-
}
|
|
14218
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
14219
|
-
}
|
|
14220
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
14221
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
14222
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
14223
|
-
}
|
|
14224
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
14225
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
14226
|
-
const untrustedConfig_sections_array = [];
|
|
14227
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
14228
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
14229
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
14230
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
14231
|
-
}
|
|
14232
|
-
}
|
|
14233
|
-
config.sections = untrustedConfig_sections_array;
|
|
14234
|
-
}
|
|
13770
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
13771
|
+
formFactor: 0 /* String */,
|
|
13772
|
+
});
|
|
13773
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
13774
|
+
objectApiNames: 0 /* String */,
|
|
13775
|
+
actionTypes: 0 /* String */,
|
|
13776
|
+
sections: 0 /* String */,
|
|
13777
|
+
});
|
|
14235
13778
|
return config;
|
|
14236
13779
|
}
|
|
14237
13780
|
function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
|
|
@@ -14392,24 +13935,12 @@ function createResourceParams$L(config) {
|
|
|
14392
13935
|
return resourceParams;
|
|
14393
13936
|
}
|
|
14394
13937
|
function coerceConfig$u(config) {
|
|
14395
|
-
|
|
14396
|
-
|
|
14397
|
-
|
|
14398
|
-
|
|
14399
|
-
|
|
14400
|
-
|
|
14401
|
-
if (actionTypes !== undefined) {
|
|
14402
|
-
coercedConfig.actionTypes = actionTypes;
|
|
14403
|
-
}
|
|
14404
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
14405
|
-
if (formFactor !== undefined) {
|
|
14406
|
-
coercedConfig.formFactor = formFactor;
|
|
14407
|
-
}
|
|
14408
|
-
const sections = toSortedStringArray(config.sections);
|
|
14409
|
-
if (sections !== undefined) {
|
|
14410
|
-
coercedConfig.sections = sections;
|
|
14411
|
-
}
|
|
14412
|
-
return coercedConfig;
|
|
13938
|
+
return coerceConfig$E(config, {
|
|
13939
|
+
'objectApiName': getObjectApiName$1,
|
|
13940
|
+
'actionTypes': 1,
|
|
13941
|
+
'formFactor': coerceFormFactor,
|
|
13942
|
+
'sections': toSortedStringArray,
|
|
13943
|
+
});
|
|
14413
13944
|
}
|
|
14414
13945
|
function keyBuilder$1s(luvio, config) {
|
|
14415
13946
|
const resourceParams = createResourceParams$L(config);
|
|
@@ -14417,36 +13948,14 @@ function keyBuilder$1s(luvio, config) {
|
|
|
14417
13948
|
}
|
|
14418
13949
|
function typeCheckConfig$R(untrustedConfig) {
|
|
14419
13950
|
const config = {};
|
|
14420
|
-
|
|
14421
|
-
|
|
14422
|
-
|
|
14423
|
-
}
|
|
14424
|
-
|
|
14425
|
-
|
|
14426
|
-
|
|
14427
|
-
|
|
14428
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
14429
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
14430
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
14431
|
-
}
|
|
14432
|
-
}
|
|
14433
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
14434
|
-
}
|
|
14435
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
14436
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
14437
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
14438
|
-
}
|
|
14439
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
14440
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
14441
|
-
const untrustedConfig_sections_array = [];
|
|
14442
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
14443
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
14444
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
14445
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
14446
|
-
}
|
|
14447
|
-
}
|
|
14448
|
-
config.sections = untrustedConfig_sections_array;
|
|
14449
|
-
}
|
|
13951
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
13952
|
+
objectApiName: 0 /* String */,
|
|
13953
|
+
formFactor: 0 /* String */,
|
|
13954
|
+
});
|
|
13955
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
13956
|
+
actionTypes: 0 /* String */,
|
|
13957
|
+
sections: 0 /* String */,
|
|
13958
|
+
});
|
|
14450
13959
|
return config;
|
|
14451
13960
|
}
|
|
14452
13961
|
function validateAdapterConfig$S(untrustedConfig, configPropertyNames) {
|
|
@@ -14673,16 +14182,10 @@ function createResourceParams$K(config) {
|
|
|
14673
14182
|
return resourceParams;
|
|
14674
14183
|
}
|
|
14675
14184
|
function coerceConfig$t(config) {
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
|
-
|
|
14679
|
-
|
|
14680
|
-
}
|
|
14681
|
-
const type = config.type;
|
|
14682
|
-
if (type !== undefined) {
|
|
14683
|
-
coercedConfig.type = type;
|
|
14684
|
-
}
|
|
14685
|
-
return coercedConfig;
|
|
14185
|
+
return coerceConfig$E(config, {
|
|
14186
|
+
'objectApiName': getObjectApiName$1,
|
|
14187
|
+
'type': 1,
|
|
14188
|
+
});
|
|
14686
14189
|
}
|
|
14687
14190
|
function keyBuilder$1q(luvio, config) {
|
|
14688
14191
|
const resourceParams = createResourceParams$K(config);
|
|
@@ -14690,14 +14193,10 @@ function keyBuilder$1q(luvio, config) {
|
|
|
14690
14193
|
}
|
|
14691
14194
|
function typeCheckConfig$Q(untrustedConfig) {
|
|
14692
14195
|
const config = {};
|
|
14693
|
-
|
|
14694
|
-
|
|
14695
|
-
|
|
14696
|
-
}
|
|
14697
|
-
const untrustedConfig_type = untrustedConfig.type;
|
|
14698
|
-
if (typeof untrustedConfig_type === 'string') {
|
|
14699
|
-
config.type = untrustedConfig_type;
|
|
14700
|
-
}
|
|
14196
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
14197
|
+
objectApiName: 0 /* String */,
|
|
14198
|
+
type: 0 /* String */,
|
|
14199
|
+
});
|
|
14701
14200
|
return config;
|
|
14702
14201
|
}
|
|
14703
14202
|
function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
@@ -15112,20 +14611,11 @@ function createResourceParams$J(config) {
|
|
|
15112
14611
|
return resourceParams;
|
|
15113
14612
|
}
|
|
15114
14613
|
function coerceConfig$s(config) {
|
|
15115
|
-
|
|
15116
|
-
|
|
15117
|
-
|
|
15118
|
-
|
|
15119
|
-
}
|
|
15120
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
15121
|
-
if (optionalFields !== undefined) {
|
|
15122
|
-
coercedConfig.optionalFields = optionalFields;
|
|
15123
|
-
}
|
|
15124
|
-
const parentRecordId = config.parentRecordId;
|
|
15125
|
-
if (parentRecordId !== undefined) {
|
|
15126
|
-
coercedConfig.parentRecordId = parentRecordId;
|
|
15127
|
-
}
|
|
15128
|
-
return coercedConfig;
|
|
14614
|
+
return coerceConfig$E(config, {
|
|
14615
|
+
'actionApiName': getObjectApiName$1,
|
|
14616
|
+
'optionalFields': getFieldApiNamesArray,
|
|
14617
|
+
'parentRecordId': 1,
|
|
14618
|
+
});
|
|
15129
14619
|
}
|
|
15130
14620
|
function keyBuilder$1n(luvio, config) {
|
|
15131
14621
|
const resourceParams = createResourceParams$J(config);
|
|
@@ -15133,25 +14623,13 @@ function keyBuilder$1n(luvio, config) {
|
|
|
15133
14623
|
}
|
|
15134
14624
|
function typeCheckConfig$P(untrustedConfig) {
|
|
15135
14625
|
const config = {};
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
}
|
|
15140
|
-
|
|
15141
|
-
|
|
15142
|
-
|
|
15143
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
15144
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
15145
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
15146
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
15147
|
-
}
|
|
15148
|
-
}
|
|
15149
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
15150
|
-
}
|
|
15151
|
-
const untrustedConfig_parentRecordId = untrustedConfig.parentRecordId;
|
|
15152
|
-
if (typeof untrustedConfig_parentRecordId === 'string') {
|
|
15153
|
-
config.parentRecordId = untrustedConfig_parentRecordId;
|
|
15154
|
-
}
|
|
14626
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
14627
|
+
actionApiName: 0 /* String */,
|
|
14628
|
+
parentRecordId: 0 /* String */,
|
|
14629
|
+
});
|
|
14630
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
14631
|
+
optionalFields: 0 /* String */,
|
|
14632
|
+
});
|
|
15155
14633
|
return config;
|
|
15156
14634
|
}
|
|
15157
14635
|
function validateAdapterConfig$Q(untrustedConfig, configPropertyNames) {
|
|
@@ -15302,32 +14780,14 @@ function createResourceParams$I(config) {
|
|
|
15302
14780
|
return resourceParams;
|
|
15303
14781
|
}
|
|
15304
14782
|
function coerceConfig$r(config) {
|
|
15305
|
-
|
|
15306
|
-
|
|
15307
|
-
|
|
15308
|
-
|
|
15309
|
-
|
|
15310
|
-
|
|
15311
|
-
|
|
15312
|
-
|
|
15313
|
-
}
|
|
15314
|
-
const apiNames = toSortedStringArrayAllowEmpty(config.apiNames);
|
|
15315
|
-
if (apiNames !== undefined) {
|
|
15316
|
-
coercedConfig.apiNames = apiNames;
|
|
15317
|
-
}
|
|
15318
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
15319
|
-
if (formFactor !== undefined) {
|
|
15320
|
-
coercedConfig.formFactor = formFactor;
|
|
15321
|
-
}
|
|
15322
|
-
const retrievalMode = config.retrievalMode;
|
|
15323
|
-
if (retrievalMode !== undefined) {
|
|
15324
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
15325
|
-
}
|
|
15326
|
-
const sections = toSortedStringArray(config.sections);
|
|
15327
|
-
if (sections !== undefined) {
|
|
15328
|
-
coercedConfig.sections = sections;
|
|
15329
|
-
}
|
|
15330
|
-
return coercedConfig;
|
|
14783
|
+
return coerceConfig$E(config, {
|
|
14784
|
+
'recordIds': getRecordId18Array,
|
|
14785
|
+
'actionTypes': 1,
|
|
14786
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
14787
|
+
'formFactor': coerceFormFactor,
|
|
14788
|
+
'retrievalMode': 1,
|
|
14789
|
+
'sections': toSortedStringArray,
|
|
14790
|
+
});
|
|
15331
14791
|
}
|
|
15332
14792
|
function keyBuilder$1l(luvio, config) {
|
|
15333
14793
|
const resourceParams = createResourceParams$I(config);
|
|
@@ -15335,58 +14795,16 @@ function keyBuilder$1l(luvio, config) {
|
|
|
15335
14795
|
}
|
|
15336
14796
|
function typeCheckConfig$O(untrustedConfig) {
|
|
15337
14797
|
const config = {};
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
|
-
|
|
15342
|
-
|
|
15343
|
-
|
|
15344
|
-
|
|
15345
|
-
|
|
15346
|
-
|
|
15347
|
-
|
|
15348
|
-
}
|
|
15349
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
15350
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
15351
|
-
const untrustedConfig_actionTypes_array = [];
|
|
15352
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
15353
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
15354
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
15355
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
15356
|
-
}
|
|
15357
|
-
}
|
|
15358
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
15359
|
-
}
|
|
15360
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
15361
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
15362
|
-
const untrustedConfig_apiNames_array = [];
|
|
15363
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
15364
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
15365
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
15366
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
15367
|
-
}
|
|
15368
|
-
}
|
|
15369
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
15370
|
-
}
|
|
15371
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
15372
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
15373
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
15374
|
-
}
|
|
15375
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
15376
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
15377
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
15378
|
-
}
|
|
15379
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
15380
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
15381
|
-
const untrustedConfig_sections_array = [];
|
|
15382
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
15383
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
15384
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
15385
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
15386
|
-
}
|
|
15387
|
-
}
|
|
15388
|
-
config.sections = untrustedConfig_sections_array;
|
|
15389
|
-
}
|
|
14798
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
14799
|
+
formFactor: 0 /* String */,
|
|
14800
|
+
retrievalMode: 0 /* String */,
|
|
14801
|
+
});
|
|
14802
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
14803
|
+
recordIds: 0 /* String */,
|
|
14804
|
+
actionTypes: 0 /* String */,
|
|
14805
|
+
apiNames: 0 /* String */,
|
|
14806
|
+
sections: 0 /* String */,
|
|
14807
|
+
});
|
|
15390
14808
|
return config;
|
|
15391
14809
|
}
|
|
15392
14810
|
function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
|
|
@@ -15551,24 +14969,12 @@ function createResourceParams$H(config) {
|
|
|
15551
14969
|
return resourceParams;
|
|
15552
14970
|
}
|
|
15553
14971
|
function coerceConfig$q(config) {
|
|
15554
|
-
|
|
15555
|
-
|
|
15556
|
-
|
|
15557
|
-
|
|
15558
|
-
|
|
15559
|
-
|
|
15560
|
-
if (actionTypes !== undefined) {
|
|
15561
|
-
coercedConfig.actionTypes = actionTypes;
|
|
15562
|
-
}
|
|
15563
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
15564
|
-
if (formFactor !== undefined) {
|
|
15565
|
-
coercedConfig.formFactor = formFactor;
|
|
15566
|
-
}
|
|
15567
|
-
const sections = toSortedStringArray(config.sections);
|
|
15568
|
-
if (sections !== undefined) {
|
|
15569
|
-
coercedConfig.sections = sections;
|
|
15570
|
-
}
|
|
15571
|
-
return coercedConfig;
|
|
14972
|
+
return coerceConfig$E(config, {
|
|
14973
|
+
'recordIds': getRecordId18Array,
|
|
14974
|
+
'actionTypes': 1,
|
|
14975
|
+
'formFactor': coerceFormFactor,
|
|
14976
|
+
'sections': toSortedStringArray,
|
|
14977
|
+
});
|
|
15572
14978
|
}
|
|
15573
14979
|
function keyBuilder$1j(luvio, config) {
|
|
15574
14980
|
const resourceParams = createResourceParams$H(config);
|
|
@@ -15576,43 +14982,14 @@ function keyBuilder$1j(luvio, config) {
|
|
|
15576
14982
|
}
|
|
15577
14983
|
function typeCheckConfig$N(untrustedConfig) {
|
|
15578
14984
|
const config = {};
|
|
15579
|
-
|
|
15580
|
-
|
|
15581
|
-
|
|
15582
|
-
|
|
15583
|
-
|
|
15584
|
-
|
|
15585
|
-
|
|
15586
|
-
|
|
15587
|
-
}
|
|
15588
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
15589
|
-
}
|
|
15590
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
15591
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
15592
|
-
const untrustedConfig_actionTypes_array = [];
|
|
15593
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
15594
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
15595
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
15596
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
15597
|
-
}
|
|
15598
|
-
}
|
|
15599
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
15600
|
-
}
|
|
15601
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
15602
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
15603
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
15604
|
-
}
|
|
15605
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
15606
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
15607
|
-
const untrustedConfig_sections_array = [];
|
|
15608
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
15609
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
15610
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
15611
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
15612
|
-
}
|
|
15613
|
-
}
|
|
15614
|
-
config.sections = untrustedConfig_sections_array;
|
|
15615
|
-
}
|
|
14985
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
14986
|
+
formFactor: 0 /* String */,
|
|
14987
|
+
});
|
|
14988
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
14989
|
+
recordIds: 0 /* String */,
|
|
14990
|
+
actionTypes: 0 /* String */,
|
|
14991
|
+
sections: 0 /* String */,
|
|
14992
|
+
});
|
|
15616
14993
|
return config;
|
|
15617
14994
|
}
|
|
15618
14995
|
function validateAdapterConfig$O(untrustedConfig, configPropertyNames) {
|
|
@@ -16074,16 +15451,10 @@ function createResourceParams$G(config) {
|
|
|
16074
15451
|
return resourceParams;
|
|
16075
15452
|
}
|
|
16076
15453
|
function coerceConfig$p(config) {
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
}
|
|
16082
|
-
const relatedListsActionParameters = config.relatedListsActionParameters;
|
|
16083
|
-
if (relatedListsActionParameters !== undefined) {
|
|
16084
|
-
coercedConfig.relatedListsActionParameters = relatedListsActionParameters;
|
|
16085
|
-
}
|
|
16086
|
-
return coercedConfig;
|
|
15454
|
+
return coerceConfig$E(config, {
|
|
15455
|
+
'recordIds': getRecordId18Array,
|
|
15456
|
+
'relatedListsActionParameters': 1,
|
|
15457
|
+
});
|
|
16087
15458
|
}
|
|
16088
15459
|
function keyBuilder$1g(luvio, config) {
|
|
16089
15460
|
const resourceParams = createResourceParams$G(config);
|
|
@@ -16091,17 +15462,9 @@ function keyBuilder$1g(luvio, config) {
|
|
|
16091
15462
|
}
|
|
16092
15463
|
function typeCheckConfig$M(untrustedConfig) {
|
|
16093
15464
|
const config = {};
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
16098
|
-
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
16099
|
-
if (typeof untrustedConfig_recordIds_item === 'string') {
|
|
16100
|
-
untrustedConfig_recordIds_array.push(untrustedConfig_recordIds_item);
|
|
16101
|
-
}
|
|
16102
|
-
}
|
|
16103
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
16104
|
-
}
|
|
15465
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
15466
|
+
recordIds: 0 /* String */,
|
|
15467
|
+
});
|
|
16105
15468
|
const untrustedConfig_relatedListsActionParameters = untrustedConfig.relatedListsActionParameters;
|
|
16106
15469
|
if (ArrayIsArray$1(untrustedConfig_relatedListsActionParameters)) {
|
|
16107
15470
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
@@ -16232,36 +15595,15 @@ function createResourceParams$F(config) {
|
|
|
16232
15595
|
return resourceParams;
|
|
16233
15596
|
}
|
|
16234
15597
|
function coerceConfig$o(config) {
|
|
16235
|
-
|
|
16236
|
-
|
|
16237
|
-
|
|
16238
|
-
|
|
16239
|
-
|
|
16240
|
-
|
|
16241
|
-
|
|
16242
|
-
|
|
16243
|
-
}
|
|
16244
|
-
const actionTypes = config.actionTypes;
|
|
16245
|
-
if (actionTypes !== undefined) {
|
|
16246
|
-
coercedConfig.actionTypes = actionTypes;
|
|
16247
|
-
}
|
|
16248
|
-
const apiNames = toSortedStringArrayAllowEmpty(config.apiNames);
|
|
16249
|
-
if (apiNames !== undefined) {
|
|
16250
|
-
coercedConfig.apiNames = apiNames;
|
|
16251
|
-
}
|
|
16252
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
16253
|
-
if (formFactor !== undefined) {
|
|
16254
|
-
coercedConfig.formFactor = formFactor;
|
|
16255
|
-
}
|
|
16256
|
-
const retrievalMode = config.retrievalMode;
|
|
16257
|
-
if (retrievalMode !== undefined) {
|
|
16258
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
16259
|
-
}
|
|
16260
|
-
const sections = toSortedStringArray(config.sections);
|
|
16261
|
-
if (sections !== undefined) {
|
|
16262
|
-
coercedConfig.sections = sections;
|
|
16263
|
-
}
|
|
16264
|
-
return coercedConfig;
|
|
15598
|
+
return coerceConfig$E(config, {
|
|
15599
|
+
'recordIds': getRecordId18Array,
|
|
15600
|
+
'relatedListId': 1,
|
|
15601
|
+
'actionTypes': 1,
|
|
15602
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
15603
|
+
'formFactor': coerceFormFactor,
|
|
15604
|
+
'retrievalMode': 1,
|
|
15605
|
+
'sections': toSortedStringArray,
|
|
15606
|
+
});
|
|
16265
15607
|
}
|
|
16266
15608
|
function keyBuilder$1f(luvio, config) {
|
|
16267
15609
|
const resourceParams = createResourceParams$F(config);
|
|
@@ -16269,62 +15611,17 @@ function keyBuilder$1f(luvio, config) {
|
|
|
16269
15611
|
}
|
|
16270
15612
|
function typeCheckConfig$L(untrustedConfig) {
|
|
16271
15613
|
const config = {};
|
|
16272
|
-
|
|
16273
|
-
|
|
16274
|
-
|
|
16275
|
-
|
|
16276
|
-
|
|
16277
|
-
|
|
16278
|
-
|
|
16279
|
-
|
|
16280
|
-
|
|
16281
|
-
|
|
16282
|
-
}
|
|
16283
|
-
const untrustedConfig_relatedListId = untrustedConfig.relatedListId;
|
|
16284
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
16285
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
16286
|
-
}
|
|
16287
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
16288
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
16289
|
-
const untrustedConfig_actionTypes_array = [];
|
|
16290
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
16291
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
16292
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
16293
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
16294
|
-
}
|
|
16295
|
-
}
|
|
16296
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
16297
|
-
}
|
|
16298
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
16299
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
16300
|
-
const untrustedConfig_apiNames_array = [];
|
|
16301
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
16302
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
16303
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
16304
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
16305
|
-
}
|
|
16306
|
-
}
|
|
16307
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
16308
|
-
}
|
|
16309
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
16310
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
16311
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
16312
|
-
}
|
|
16313
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
16314
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
16315
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
16316
|
-
}
|
|
16317
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
16318
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
16319
|
-
const untrustedConfig_sections_array = [];
|
|
16320
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
16321
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
16322
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
16323
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
16324
|
-
}
|
|
16325
|
-
}
|
|
16326
|
-
config.sections = untrustedConfig_sections_array;
|
|
16327
|
-
}
|
|
15614
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
15615
|
+
relatedListId: 0 /* String */,
|
|
15616
|
+
formFactor: 0 /* String */,
|
|
15617
|
+
retrievalMode: 0 /* String */,
|
|
15618
|
+
});
|
|
15619
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
15620
|
+
recordIds: 0 /* String */,
|
|
15621
|
+
actionTypes: 0 /* String */,
|
|
15622
|
+
apiNames: 0 /* String */,
|
|
15623
|
+
sections: 0 /* String */,
|
|
15624
|
+
});
|
|
16328
15625
|
return config;
|
|
16329
15626
|
}
|
|
16330
15627
|
function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
@@ -16485,28 +15782,13 @@ function createResourceParams$E(config) {
|
|
|
16485
15782
|
return resourceParams;
|
|
16486
15783
|
}
|
|
16487
15784
|
function coerceConfig$n(config) {
|
|
16488
|
-
|
|
16489
|
-
|
|
16490
|
-
|
|
16491
|
-
|
|
16492
|
-
|
|
16493
|
-
|
|
16494
|
-
|
|
16495
|
-
coercedConfig.relatedListRecordIds = relatedListRecordIds;
|
|
16496
|
-
}
|
|
16497
|
-
const actionTypes = toSortedStringArray(config.actionTypes);
|
|
16498
|
-
if (actionTypes !== undefined) {
|
|
16499
|
-
coercedConfig.actionTypes = actionTypes;
|
|
16500
|
-
}
|
|
16501
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
16502
|
-
if (formFactor !== undefined) {
|
|
16503
|
-
coercedConfig.formFactor = formFactor;
|
|
16504
|
-
}
|
|
16505
|
-
const sections = toSortedStringArray(config.sections);
|
|
16506
|
-
if (sections !== undefined) {
|
|
16507
|
-
coercedConfig.sections = sections;
|
|
16508
|
-
}
|
|
16509
|
-
return coercedConfig;
|
|
15785
|
+
return coerceConfig$E(config, {
|
|
15786
|
+
'recordIds': getRecordId18Array,
|
|
15787
|
+
'relatedListRecordIds': getRecordId18Array,
|
|
15788
|
+
'actionTypes': toSortedStringArray,
|
|
15789
|
+
'formFactor': coerceFormFactor,
|
|
15790
|
+
'sections': toSortedStringArray,
|
|
15791
|
+
});
|
|
16510
15792
|
}
|
|
16511
15793
|
function keyBuilder$1d(luvio, config) {
|
|
16512
15794
|
const resourceParams = createResourceParams$E(config);
|
|
@@ -16514,54 +15796,15 @@ function keyBuilder$1d(luvio, config) {
|
|
|
16514
15796
|
}
|
|
16515
15797
|
function typeCheckConfig$K(untrustedConfig) {
|
|
16516
15798
|
const config = {};
|
|
16517
|
-
|
|
16518
|
-
|
|
16519
|
-
|
|
16520
|
-
|
|
16521
|
-
|
|
16522
|
-
|
|
16523
|
-
|
|
16524
|
-
|
|
16525
|
-
|
|
16526
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
16527
|
-
}
|
|
16528
|
-
const untrustedConfig_relatedListRecordIds = untrustedConfig.relatedListRecordIds;
|
|
16529
|
-
if (ArrayIsArray$1(untrustedConfig_relatedListRecordIds)) {
|
|
16530
|
-
const untrustedConfig_relatedListRecordIds_array = [];
|
|
16531
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListRecordIds.length; i < arrayLength; i++) {
|
|
16532
|
-
const untrustedConfig_relatedListRecordIds_item = untrustedConfig_relatedListRecordIds[i];
|
|
16533
|
-
if (typeof untrustedConfig_relatedListRecordIds_item === 'string') {
|
|
16534
|
-
untrustedConfig_relatedListRecordIds_array.push(untrustedConfig_relatedListRecordIds_item);
|
|
16535
|
-
}
|
|
16536
|
-
}
|
|
16537
|
-
config.relatedListRecordIds = untrustedConfig_relatedListRecordIds_array;
|
|
16538
|
-
}
|
|
16539
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
16540
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
16541
|
-
const untrustedConfig_actionTypes_array = [];
|
|
16542
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
16543
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
16544
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
16545
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
16546
|
-
}
|
|
16547
|
-
}
|
|
16548
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
16549
|
-
}
|
|
16550
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
16551
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
16552
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
16553
|
-
}
|
|
16554
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
16555
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
16556
|
-
const untrustedConfig_sections_array = [];
|
|
16557
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
16558
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
16559
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
16560
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
16561
|
-
}
|
|
16562
|
-
}
|
|
16563
|
-
config.sections = untrustedConfig_sections_array;
|
|
16564
|
-
}
|
|
15799
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
15800
|
+
formFactor: 0 /* String */,
|
|
15801
|
+
});
|
|
15802
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
15803
|
+
recordIds: 0 /* String */,
|
|
15804
|
+
relatedListRecordIds: 0 /* String */,
|
|
15805
|
+
actionTypes: 0 /* String */,
|
|
15806
|
+
sections: 0 /* String */,
|
|
15807
|
+
});
|
|
16565
15808
|
return config;
|
|
16566
15809
|
}
|
|
16567
15810
|
function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
@@ -17870,16 +17113,10 @@ function createResourceParams$D(config) {
|
|
|
17870
17113
|
return resourceParams;
|
|
17871
17114
|
}
|
|
17872
17115
|
function coerceConfig$m(config) {
|
|
17873
|
-
|
|
17874
|
-
|
|
17875
|
-
|
|
17876
|
-
|
|
17877
|
-
}
|
|
17878
|
-
const userCustomizations = config.userCustomizations;
|
|
17879
|
-
if (userCustomizations !== undefined) {
|
|
17880
|
-
coercedConfig.userCustomizations = userCustomizations;
|
|
17881
|
-
}
|
|
17882
|
-
return coercedConfig;
|
|
17116
|
+
return coerceConfig$E(config, {
|
|
17117
|
+
'formFactor': coerceFormFactor,
|
|
17118
|
+
'userCustomizations': 1,
|
|
17119
|
+
});
|
|
17883
17120
|
}
|
|
17884
17121
|
function keyBuilder$19(luvio, config) {
|
|
17885
17122
|
const resourceParams = createResourceParams$D(config);
|
|
@@ -17887,14 +17124,10 @@ function keyBuilder$19(luvio, config) {
|
|
|
17887
17124
|
}
|
|
17888
17125
|
function typeCheckConfig$J(untrustedConfig) {
|
|
17889
17126
|
const config = {};
|
|
17890
|
-
|
|
17891
|
-
|
|
17892
|
-
|
|
17893
|
-
}
|
|
17894
|
-
const untrustedConfig_userCustomizations = untrustedConfig.userCustomizations;
|
|
17895
|
-
if (typeof untrustedConfig_userCustomizations === 'boolean') {
|
|
17896
|
-
config.userCustomizations = untrustedConfig_userCustomizations;
|
|
17897
|
-
}
|
|
17127
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
17128
|
+
formFactor: 0 /* String */,
|
|
17129
|
+
userCustomizations: 1 /* Boolean */,
|
|
17130
|
+
});
|
|
17898
17131
|
return config;
|
|
17899
17132
|
}
|
|
17900
17133
|
function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
@@ -18057,20 +17290,11 @@ function createResourceParams$C(config) {
|
|
|
18057
17290
|
return resourceParams;
|
|
18058
17291
|
}
|
|
18059
17292
|
function coerceConfig$l(config) {
|
|
18060
|
-
|
|
18061
|
-
|
|
18062
|
-
|
|
18063
|
-
|
|
18064
|
-
}
|
|
18065
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
18066
|
-
if (formFactor !== undefined) {
|
|
18067
|
-
coercedConfig.formFactor = formFactor;
|
|
18068
|
-
}
|
|
18069
|
-
const userCustomizations = config.userCustomizations;
|
|
18070
|
-
if (userCustomizations !== undefined) {
|
|
18071
|
-
coercedConfig.userCustomizations = userCustomizations;
|
|
18072
|
-
}
|
|
18073
|
-
return coercedConfig;
|
|
17293
|
+
return coerceConfig$E(config, {
|
|
17294
|
+
'appId': 1,
|
|
17295
|
+
'formFactor': coerceFormFactor,
|
|
17296
|
+
'userCustomizations': 1,
|
|
17297
|
+
});
|
|
18074
17298
|
}
|
|
18075
17299
|
function keyBuilder$17(luvio, config) {
|
|
18076
17300
|
const resourceParams = createResourceParams$C(config);
|
|
@@ -18078,18 +17302,11 @@ function keyBuilder$17(luvio, config) {
|
|
|
18078
17302
|
}
|
|
18079
17303
|
function typeCheckConfig$I(untrustedConfig) {
|
|
18080
17304
|
const config = {};
|
|
18081
|
-
|
|
18082
|
-
|
|
18083
|
-
|
|
18084
|
-
|
|
18085
|
-
|
|
18086
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
18087
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
18088
|
-
}
|
|
18089
|
-
const untrustedConfig_userCustomizations = untrustedConfig.userCustomizations;
|
|
18090
|
-
if (typeof untrustedConfig_userCustomizations === 'boolean') {
|
|
18091
|
-
config.userCustomizations = untrustedConfig_userCustomizations;
|
|
18092
|
-
}
|
|
17305
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
17306
|
+
appId: 0 /* String */,
|
|
17307
|
+
formFactor: 0 /* String */,
|
|
17308
|
+
userCustomizations: 1 /* Boolean */,
|
|
17309
|
+
});
|
|
18093
17310
|
return config;
|
|
18094
17311
|
}
|
|
18095
17312
|
function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
@@ -18735,14 +17952,10 @@ function keyBuilder$15(luvio, config) {
|
|
|
18735
17952
|
}
|
|
18736
17953
|
function typeCheckConfig$H(untrustedConfig) {
|
|
18737
17954
|
const config = {};
|
|
18738
|
-
|
|
18739
|
-
|
|
18740
|
-
|
|
18741
|
-
}
|
|
18742
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
18743
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
18744
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
18745
|
-
}
|
|
17955
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
17956
|
+
objectApiName: 0 /* String */,
|
|
17957
|
+
recordTypeId: 0 /* String */,
|
|
17958
|
+
});
|
|
18746
17959
|
return config;
|
|
18747
17960
|
}
|
|
18748
17961
|
function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
@@ -18956,51 +18169,23 @@ function createResourceParams$A(config) {
|
|
|
18956
18169
|
return resourceParams;
|
|
18957
18170
|
}
|
|
18958
18171
|
function coerceConfig$k(config) {
|
|
18959
|
-
|
|
18960
|
-
|
|
18961
|
-
|
|
18962
|
-
|
|
18963
|
-
|
|
18964
|
-
|
|
18965
|
-
|
|
18966
|
-
coercedConfig.formFactor = formFactor;
|
|
18967
|
-
}
|
|
18968
|
-
const layoutType = coerceLayoutType(config.layoutType);
|
|
18969
|
-
if (layoutType !== undefined) {
|
|
18970
|
-
coercedConfig.layoutType = layoutType;
|
|
18971
|
-
}
|
|
18972
|
-
const mode = coerceLayoutMode(config.mode);
|
|
18973
|
-
if (mode !== undefined) {
|
|
18974
|
-
coercedConfig.mode = mode;
|
|
18975
|
-
}
|
|
18976
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
18977
|
-
if (recordTypeId !== undefined) {
|
|
18978
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
18979
|
-
}
|
|
18980
|
-
return coercedConfig;
|
|
18172
|
+
return coerceConfig$E(config, {
|
|
18173
|
+
'objectApiName': getObjectApiName$1,
|
|
18174
|
+
'formFactor': 1,
|
|
18175
|
+
'layoutType': coerceLayoutType,
|
|
18176
|
+
'mode': coerceLayoutMode,
|
|
18177
|
+
'recordTypeId': getRecordId18,
|
|
18178
|
+
});
|
|
18981
18179
|
}
|
|
18982
18180
|
function typeCheckConfig$G(untrustedConfig) {
|
|
18983
18181
|
const config = {};
|
|
18984
|
-
|
|
18985
|
-
|
|
18986
|
-
|
|
18987
|
-
|
|
18988
|
-
|
|
18989
|
-
|
|
18990
|
-
|
|
18991
|
-
}
|
|
18992
|
-
const untrustedConfig_layoutType = untrustedConfig.layoutType;
|
|
18993
|
-
if (typeof untrustedConfig_layoutType === 'string') {
|
|
18994
|
-
config.layoutType = untrustedConfig_layoutType;
|
|
18995
|
-
}
|
|
18996
|
-
const untrustedConfig_mode = untrustedConfig.mode;
|
|
18997
|
-
if (typeof untrustedConfig_mode === 'string') {
|
|
18998
|
-
config.mode = untrustedConfig_mode;
|
|
18999
|
-
}
|
|
19000
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
19001
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
19002
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
19003
|
-
}
|
|
18182
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
18183
|
+
objectApiName: 0 /* String */,
|
|
18184
|
+
formFactor: 0 /* String */,
|
|
18185
|
+
layoutType: 0 /* String */,
|
|
18186
|
+
mode: 0 /* String */,
|
|
18187
|
+
recordTypeId: 0 /* String */,
|
|
18188
|
+
});
|
|
19004
18189
|
return config;
|
|
19005
18190
|
}
|
|
19006
18191
|
function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
@@ -19221,51 +18406,23 @@ function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
|
|
|
19221
18406
|
|
|
19222
18407
|
const adapterName$u = 'getLayoutUserState';
|
|
19223
18408
|
function coerceConfig$j(config) {
|
|
19224
|
-
|
|
19225
|
-
|
|
19226
|
-
|
|
19227
|
-
|
|
19228
|
-
|
|
19229
|
-
|
|
19230
|
-
|
|
19231
|
-
coercedConfig.formFactor = formFactor;
|
|
19232
|
-
}
|
|
19233
|
-
const layoutType = coerceLayoutType(config.layoutType);
|
|
19234
|
-
if (layoutType !== undefined) {
|
|
19235
|
-
coercedConfig.layoutType = layoutType;
|
|
19236
|
-
}
|
|
19237
|
-
const mode = coerceLayoutMode(config.mode);
|
|
19238
|
-
if (mode !== undefined) {
|
|
19239
|
-
coercedConfig.mode = mode;
|
|
19240
|
-
}
|
|
19241
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
19242
|
-
if (recordTypeId !== undefined) {
|
|
19243
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
19244
|
-
}
|
|
19245
|
-
return coercedConfig;
|
|
18409
|
+
return coerceConfig$E(config, {
|
|
18410
|
+
'objectApiName': getObjectApiName$1,
|
|
18411
|
+
'formFactor': 1,
|
|
18412
|
+
'layoutType': coerceLayoutType,
|
|
18413
|
+
'mode': coerceLayoutMode,
|
|
18414
|
+
'recordTypeId': getRecordId18,
|
|
18415
|
+
});
|
|
19246
18416
|
}
|
|
19247
18417
|
function typeCheckConfig$F(untrustedConfig) {
|
|
19248
18418
|
const config = {};
|
|
19249
|
-
|
|
19250
|
-
|
|
19251
|
-
|
|
19252
|
-
|
|
19253
|
-
|
|
19254
|
-
|
|
19255
|
-
|
|
19256
|
-
}
|
|
19257
|
-
const untrustedConfig_layoutType = untrustedConfig.layoutType;
|
|
19258
|
-
if (typeof untrustedConfig_layoutType === 'string') {
|
|
19259
|
-
config.layoutType = untrustedConfig_layoutType;
|
|
19260
|
-
}
|
|
19261
|
-
const untrustedConfig_mode = untrustedConfig.mode;
|
|
19262
|
-
if (typeof untrustedConfig_mode === 'string') {
|
|
19263
|
-
config.mode = untrustedConfig_mode;
|
|
19264
|
-
}
|
|
19265
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
19266
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
19267
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
19268
|
-
}
|
|
18419
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
18420
|
+
objectApiName: 0 /* String */,
|
|
18421
|
+
formFactor: 0 /* String */,
|
|
18422
|
+
layoutType: 0 /* String */,
|
|
18423
|
+
mode: 0 /* String */,
|
|
18424
|
+
recordTypeId: 0 /* String */,
|
|
18425
|
+
});
|
|
19269
18426
|
return config;
|
|
19270
18427
|
}
|
|
19271
18428
|
function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
|
|
@@ -19690,28 +18847,10 @@ function keyBuilder$10(luvio, config) {
|
|
|
19690
18847
|
}
|
|
19691
18848
|
function typeCheckConfig$E(untrustedConfig) {
|
|
19692
18849
|
const config = {};
|
|
19693
|
-
|
|
19694
|
-
|
|
19695
|
-
|
|
19696
|
-
|
|
19697
|
-
const untrustedConfig_ids_item = untrustedConfig_ids[i];
|
|
19698
|
-
if (typeof untrustedConfig_ids_item === 'string') {
|
|
19699
|
-
untrustedConfig_ids_array.push(untrustedConfig_ids_item);
|
|
19700
|
-
}
|
|
19701
|
-
}
|
|
19702
|
-
config.ids = untrustedConfig_ids_array;
|
|
19703
|
-
}
|
|
19704
|
-
const untrustedConfig_names = untrustedConfig.names;
|
|
19705
|
-
if (ArrayIsArray$1(untrustedConfig_names)) {
|
|
19706
|
-
const untrustedConfig_names_array = [];
|
|
19707
|
-
for (let i = 0, arrayLength = untrustedConfig_names.length; i < arrayLength; i++) {
|
|
19708
|
-
const untrustedConfig_names_item = untrustedConfig_names[i];
|
|
19709
|
-
if (typeof untrustedConfig_names_item === 'string') {
|
|
19710
|
-
untrustedConfig_names_array.push(untrustedConfig_names_item);
|
|
19711
|
-
}
|
|
19712
|
-
}
|
|
19713
|
-
config.names = untrustedConfig_names_array;
|
|
19714
|
-
}
|
|
18850
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
18851
|
+
ids: 0 /* String */,
|
|
18852
|
+
names: 0 /* String */,
|
|
18853
|
+
});
|
|
19715
18854
|
return config;
|
|
19716
18855
|
}
|
|
19717
18856
|
function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
|
|
@@ -19821,14 +18960,10 @@ function keyBuilder$$(luvio, config) {
|
|
|
19821
18960
|
}
|
|
19822
18961
|
function typeCheckConfig$D(untrustedConfig) {
|
|
19823
18962
|
const config = {};
|
|
19824
|
-
|
|
19825
|
-
|
|
19826
|
-
|
|
19827
|
-
}
|
|
19828
|
-
const untrustedConfig_objectApiName = untrustedConfig.objectApiName;
|
|
19829
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
19830
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
19831
|
-
}
|
|
18963
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
18964
|
+
listViewApiName: 0 /* String */,
|
|
18965
|
+
objectApiName: 0 /* String */,
|
|
18966
|
+
});
|
|
19832
18967
|
return config;
|
|
19833
18968
|
}
|
|
19834
18969
|
function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
|
|
@@ -19986,47 +19121,24 @@ function createResourceParams$x(config) {
|
|
|
19986
19121
|
return resourceParams;
|
|
19987
19122
|
}
|
|
19988
19123
|
function coerceConfig$i(config) {
|
|
19989
|
-
|
|
19990
|
-
|
|
19991
|
-
|
|
19992
|
-
|
|
19993
|
-
|
|
19994
|
-
|
|
19995
|
-
|
|
19996
|
-
|
|
19997
|
-
}
|
|
19998
|
-
const filterLogicString = config.filterLogicString;
|
|
19999
|
-
if (filterLogicString !== undefined) {
|
|
20000
|
-
coercedConfig.filterLogicString = filterLogicString;
|
|
20001
|
-
}
|
|
20002
|
-
const filteredByInfo = config.filteredByInfo;
|
|
20003
|
-
if (filteredByInfo !== undefined) {
|
|
20004
|
-
coercedConfig.filteredByInfo = filteredByInfo;
|
|
20005
|
-
}
|
|
20006
|
-
const label = config.label;
|
|
20007
|
-
if (label !== undefined) {
|
|
20008
|
-
coercedConfig.label = label;
|
|
20009
|
-
}
|
|
20010
|
-
const scope = config.scope;
|
|
20011
|
-
if (scope !== undefined) {
|
|
20012
|
-
coercedConfig.scope = scope;
|
|
20013
|
-
}
|
|
20014
|
-
const visibility = config.visibility;
|
|
20015
|
-
if (visibility !== undefined) {
|
|
20016
|
-
coercedConfig.visibility = visibility;
|
|
20017
|
-
}
|
|
20018
|
-
return coercedConfig;
|
|
19124
|
+
return coerceConfig$E(config, {
|
|
19125
|
+
'listViewApiName': 1,
|
|
19126
|
+
'objectApiName': getObjectApiName$1,
|
|
19127
|
+
'filterLogicString': 1,
|
|
19128
|
+
'filteredByInfo': 1,
|
|
19129
|
+
'label': 1,
|
|
19130
|
+
'scope': 1,
|
|
19131
|
+
'visibility': 1,
|
|
19132
|
+
});
|
|
20019
19133
|
}
|
|
20020
19134
|
function typeCheckConfig$C(untrustedConfig) {
|
|
20021
19135
|
const config = {};
|
|
20022
|
-
|
|
20023
|
-
|
|
20024
|
-
|
|
20025
|
-
|
|
20026
|
-
|
|
20027
|
-
|
|
20028
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
20029
|
-
}
|
|
19136
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
19137
|
+
listViewApiName: 0 /* String */,
|
|
19138
|
+
objectApiName: 0 /* String */,
|
|
19139
|
+
label: 0 /* String */,
|
|
19140
|
+
visibility: 0 /* String */,
|
|
19141
|
+
});
|
|
20030
19142
|
const untrustedConfig_filterLogicString = untrustedConfig.filterLogicString;
|
|
20031
19143
|
if (typeof untrustedConfig_filterLogicString === 'string') {
|
|
20032
19144
|
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
@@ -20046,10 +19158,6 @@ function typeCheckConfig$C(untrustedConfig) {
|
|
|
20046
19158
|
}
|
|
20047
19159
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
20048
19160
|
}
|
|
20049
|
-
const untrustedConfig_label = untrustedConfig.label;
|
|
20050
|
-
if (typeof untrustedConfig_label === 'string') {
|
|
20051
|
-
config.label = untrustedConfig_label;
|
|
20052
|
-
}
|
|
20053
19161
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
20054
19162
|
const referenceListScopeRepresentationValidationError = validate$1B(untrustedConfig_scope);
|
|
20055
19163
|
if (referenceListScopeRepresentationValidationError === null) {
|
|
@@ -20058,10 +19166,6 @@ function typeCheckConfig$C(untrustedConfig) {
|
|
|
20058
19166
|
if (untrustedConfig_scope === null) {
|
|
20059
19167
|
config.scope = untrustedConfig_scope;
|
|
20060
19168
|
}
|
|
20061
|
-
const untrustedConfig_visibility = untrustedConfig.visibility;
|
|
20062
|
-
if (typeof untrustedConfig_visibility === 'string') {
|
|
20063
|
-
config.visibility = untrustedConfig_visibility;
|
|
20064
|
-
}
|
|
20065
19169
|
return config;
|
|
20066
19170
|
}
|
|
20067
19171
|
function validateAdapterConfig$B(untrustedConfig, configPropertyNames) {
|
|
@@ -20612,12 +19716,9 @@ function createResourceParams$w(config) {
|
|
|
20612
19716
|
return resourceParams;
|
|
20613
19717
|
}
|
|
20614
19718
|
function coerceConfig$h(config) {
|
|
20615
|
-
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
coercedConfig.objectApiName = objectApiName;
|
|
20619
|
-
}
|
|
20620
|
-
return coercedConfig;
|
|
19719
|
+
return coerceConfig$E(config, {
|
|
19720
|
+
'objectApiName': getObjectApiName$1,
|
|
19721
|
+
});
|
|
20621
19722
|
}
|
|
20622
19723
|
function keyBuilder$Y(luvio, config) {
|
|
20623
19724
|
const resourceParams = createResourceParams$w(config);
|
|
@@ -20625,10 +19726,9 @@ function keyBuilder$Y(luvio, config) {
|
|
|
20625
19726
|
}
|
|
20626
19727
|
function typeCheckConfig$B(untrustedConfig) {
|
|
20627
19728
|
const config = {};
|
|
20628
|
-
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
}
|
|
19729
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
19730
|
+
objectApiName: 0 /* String */,
|
|
19731
|
+
});
|
|
20632
19732
|
return config;
|
|
20633
19733
|
}
|
|
20634
19734
|
function validateAdapterConfig$A(untrustedConfig, configPropertyNames) {
|
|
@@ -20958,24 +20058,12 @@ function createResourceParams$v(config) {
|
|
|
20958
20058
|
return resourceParams;
|
|
20959
20059
|
}
|
|
20960
20060
|
function coerceConfig$g(config) {
|
|
20961
|
-
|
|
20962
|
-
|
|
20963
|
-
|
|
20964
|
-
|
|
20965
|
-
|
|
20966
|
-
|
|
20967
|
-
if (navItemNames !== undefined) {
|
|
20968
|
-
coercedConfig.navItemNames = navItemNames;
|
|
20969
|
-
}
|
|
20970
|
-
const page = config.page;
|
|
20971
|
-
if (page !== undefined) {
|
|
20972
|
-
coercedConfig.page = page;
|
|
20973
|
-
}
|
|
20974
|
-
const pageSize = config.pageSize;
|
|
20975
|
-
if (pageSize !== undefined) {
|
|
20976
|
-
coercedConfig.pageSize = pageSize;
|
|
20977
|
-
}
|
|
20978
|
-
return coercedConfig;
|
|
20061
|
+
return coerceConfig$E(config, {
|
|
20062
|
+
'formFactor': coerceFormFactor,
|
|
20063
|
+
'navItemNames': 1,
|
|
20064
|
+
'page': 1,
|
|
20065
|
+
'pageSize': 1,
|
|
20066
|
+
});
|
|
20979
20067
|
}
|
|
20980
20068
|
function keyBuilder$W(luvio, config) {
|
|
20981
20069
|
const resourceParams = createResourceParams$v(config);
|
|
@@ -20983,29 +20071,14 @@ function keyBuilder$W(luvio, config) {
|
|
|
20983
20071
|
}
|
|
20984
20072
|
function typeCheckConfig$A(untrustedConfig) {
|
|
20985
20073
|
const config = {};
|
|
20986
|
-
|
|
20987
|
-
|
|
20988
|
-
|
|
20989
|
-
|
|
20990
|
-
|
|
20991
|
-
|
|
20992
|
-
|
|
20993
|
-
|
|
20994
|
-
const untrustedConfig_navItemNames_item = untrustedConfig_navItemNames[i];
|
|
20995
|
-
if (typeof untrustedConfig_navItemNames_item === 'string') {
|
|
20996
|
-
untrustedConfig_navItemNames_array.push(untrustedConfig_navItemNames_item);
|
|
20997
|
-
}
|
|
20998
|
-
}
|
|
20999
|
-
config.navItemNames = untrustedConfig_navItemNames_array;
|
|
21000
|
-
}
|
|
21001
|
-
const untrustedConfig_page = untrustedConfig.page;
|
|
21002
|
-
if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
|
|
21003
|
-
config.page = untrustedConfig_page;
|
|
21004
|
-
}
|
|
21005
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
21006
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
21007
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
21008
|
-
}
|
|
20074
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
20075
|
+
formFactor: 0 /* String */,
|
|
20076
|
+
page: 3 /* Integer */,
|
|
20077
|
+
pageSize: 3 /* Integer */,
|
|
20078
|
+
});
|
|
20079
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
20080
|
+
navItemNames: 0 /* String */,
|
|
20081
|
+
});
|
|
21009
20082
|
return config;
|
|
21010
20083
|
}
|
|
21011
20084
|
function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
|
|
@@ -21373,12 +20446,9 @@ function createResourceParams$u(config) {
|
|
|
21373
20446
|
return resourceParams;
|
|
21374
20447
|
}
|
|
21375
20448
|
function coerceConfig$f(config) {
|
|
21376
|
-
|
|
21377
|
-
|
|
21378
|
-
|
|
21379
|
-
coercedConfig.objectApiNames = objectApiNames;
|
|
21380
|
-
}
|
|
21381
|
-
return coercedConfig;
|
|
20449
|
+
return coerceConfig$E(config, {
|
|
20450
|
+
'objectApiNames': getObjectApiNamesArray,
|
|
20451
|
+
});
|
|
21382
20452
|
}
|
|
21383
20453
|
function keyBuilder$U(luvio, config) {
|
|
21384
20454
|
const resourceParams = createResourceParams$u(config);
|
|
@@ -21386,17 +20456,9 @@ function keyBuilder$U(luvio, config) {
|
|
|
21386
20456
|
}
|
|
21387
20457
|
function typeCheckConfig$z(untrustedConfig) {
|
|
21388
20458
|
const config = {};
|
|
21389
|
-
|
|
21390
|
-
|
|
21391
|
-
|
|
21392
|
-
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
21393
|
-
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
21394
|
-
if (typeof untrustedConfig_objectApiNames_item === 'string') {
|
|
21395
|
-
untrustedConfig_objectApiNames_array.push(untrustedConfig_objectApiNames_item);
|
|
21396
|
-
}
|
|
21397
|
-
}
|
|
21398
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
21399
|
-
}
|
|
20459
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
20460
|
+
objectApiNames: 0 /* String */,
|
|
20461
|
+
});
|
|
21400
20462
|
return config;
|
|
21401
20463
|
}
|
|
21402
20464
|
function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
|
|
@@ -22062,16 +21124,10 @@ function createResourceParams$t(config) {
|
|
|
22062
21124
|
return resourceParams;
|
|
22063
21125
|
}
|
|
22064
21126
|
function coerceConfig$e(config) {
|
|
22065
|
-
|
|
22066
|
-
|
|
22067
|
-
|
|
22068
|
-
|
|
22069
|
-
}
|
|
22070
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
22071
|
-
if (recordTypeId !== undefined) {
|
|
22072
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
22073
|
-
}
|
|
22074
|
-
return coercedConfig;
|
|
21127
|
+
return coerceConfig$E(config, {
|
|
21128
|
+
'objectApiName': getObjectApiName$1,
|
|
21129
|
+
'recordTypeId': getRecordId18,
|
|
21130
|
+
});
|
|
22075
21131
|
}
|
|
22076
21132
|
function keyBuilder$R(luvio, config) {
|
|
22077
21133
|
const resourceParams = createResourceParams$t(config);
|
|
@@ -22079,14 +21135,10 @@ function keyBuilder$R(luvio, config) {
|
|
|
22079
21135
|
}
|
|
22080
21136
|
function typeCheckConfig$y(untrustedConfig) {
|
|
22081
21137
|
const config = {};
|
|
22082
|
-
|
|
22083
|
-
|
|
22084
|
-
|
|
22085
|
-
}
|
|
22086
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
22087
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
22088
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
22089
|
-
}
|
|
21138
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
21139
|
+
objectApiName: 0 /* String */,
|
|
21140
|
+
recordTypeId: 0 /* String */,
|
|
21141
|
+
});
|
|
22090
21142
|
return config;
|
|
22091
21143
|
}
|
|
22092
21144
|
function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
|
|
@@ -22312,35 +21364,19 @@ function validateAdapterConfig$w(untrusted, _config) {
|
|
|
22312
21364
|
|
|
22313
21365
|
const adapterName$m = 'getPicklistValues';
|
|
22314
21366
|
function coerceConfig$d(config) {
|
|
22315
|
-
|
|
22316
|
-
|
|
22317
|
-
|
|
22318
|
-
|
|
22319
|
-
}
|
|
22320
|
-
const objectApiName = config.objectApiName;
|
|
22321
|
-
if (objectApiName !== undefined) {
|
|
22322
|
-
coercedConfig.objectApiName = objectApiName;
|
|
22323
|
-
}
|
|
22324
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
22325
|
-
if (recordTypeId !== undefined) {
|
|
22326
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
22327
|
-
}
|
|
22328
|
-
return coercedConfig;
|
|
21367
|
+
return coerceConfig$E(config, {
|
|
21368
|
+
'fieldApiName': getFieldApiName,
|
|
21369
|
+
'objectApiName': 1,
|
|
21370
|
+
'recordTypeId': getRecordId18,
|
|
21371
|
+
});
|
|
22329
21372
|
}
|
|
22330
21373
|
function typeCheckConfig$x(untrustedConfig) {
|
|
22331
21374
|
const config = {};
|
|
22332
|
-
|
|
22333
|
-
|
|
22334
|
-
|
|
22335
|
-
|
|
22336
|
-
|
|
22337
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
22338
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
22339
|
-
}
|
|
22340
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
22341
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
22342
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
22343
|
-
}
|
|
21375
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
21376
|
+
fieldApiName: 0 /* String */,
|
|
21377
|
+
objectApiName: 0 /* String */,
|
|
21378
|
+
recordTypeId: 0 /* String */,
|
|
21379
|
+
});
|
|
22344
21380
|
return config;
|
|
22345
21381
|
}
|
|
22346
21382
|
function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
|
|
@@ -22648,14 +21684,10 @@ function keyBuilder$P(luvio, config) {
|
|
|
22648
21684
|
}
|
|
22649
21685
|
function typeCheckConfig$w(untrustedConfig) {
|
|
22650
21686
|
const config = {};
|
|
22651
|
-
|
|
22652
|
-
|
|
22653
|
-
|
|
22654
|
-
}
|
|
22655
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
22656
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
22657
|
-
config.apiName = untrustedConfig_apiName;
|
|
22658
|
-
}
|
|
21687
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
21688
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
21689
|
+
apiName: 0 /* String */,
|
|
21690
|
+
});
|
|
22659
21691
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
22660
21692
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
22661
21693
|
const untrustedConfig_fields_object = {};
|
|
@@ -24173,34 +23205,19 @@ function createResourceParams$r(config) {
|
|
|
24173
23205
|
return resourceParams;
|
|
24174
23206
|
}
|
|
24175
23207
|
function coerceConfig$c(config) {
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
}
|
|
24181
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
24182
|
-
if (formFactor !== undefined) {
|
|
24183
|
-
coercedConfig.formFactor = formFactor;
|
|
24184
|
-
}
|
|
24185
|
-
return coercedConfig;
|
|
23208
|
+
return coerceConfig$E(config, {
|
|
23209
|
+
'recordIds': getRecordId18Array,
|
|
23210
|
+
'formFactor': coerceFormFactor,
|
|
23211
|
+
});
|
|
24186
23212
|
}
|
|
24187
23213
|
function typeCheckConfig$v(untrustedConfig) {
|
|
24188
23214
|
const config = {};
|
|
24189
|
-
|
|
24190
|
-
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
untrustedConfig_recordIds_array.push(untrustedConfig_recordIds_item);
|
|
24196
|
-
}
|
|
24197
|
-
}
|
|
24198
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
24199
|
-
}
|
|
24200
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
24201
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
24202
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
24203
|
-
}
|
|
23215
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
23216
|
+
formFactor: 0 /* String */,
|
|
23217
|
+
});
|
|
23218
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
23219
|
+
recordIds: 0 /* String */,
|
|
23220
|
+
});
|
|
24204
23221
|
return config;
|
|
24205
23222
|
}
|
|
24206
23223
|
function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
@@ -25183,20 +24200,11 @@ function createResourceParams$q(config) {
|
|
|
25183
24200
|
return resourceParams;
|
|
25184
24201
|
}
|
|
25185
24202
|
function coerceConfig$a(config) {
|
|
25186
|
-
|
|
25187
|
-
|
|
25188
|
-
|
|
25189
|
-
|
|
25190
|
-
}
|
|
25191
|
-
const relatedListNames = getFieldApiNamesArray(config.relatedListNames);
|
|
25192
|
-
if (relatedListNames !== undefined) {
|
|
25193
|
-
coercedConfig.relatedListNames = relatedListNames;
|
|
25194
|
-
}
|
|
25195
|
-
const maxCount = config.maxCount;
|
|
25196
|
-
if (maxCount !== undefined) {
|
|
25197
|
-
coercedConfig.maxCount = maxCount;
|
|
25198
|
-
}
|
|
25199
|
-
return coercedConfig;
|
|
24203
|
+
return coerceConfig$E(config, {
|
|
24204
|
+
'parentRecordId': 1,
|
|
24205
|
+
'relatedListNames': getFieldApiNamesArray,
|
|
24206
|
+
'maxCount': 1,
|
|
24207
|
+
});
|
|
25200
24208
|
}
|
|
25201
24209
|
function keyBuilder$I(luvio, config) {
|
|
25202
24210
|
const resourceParams = createResourceParams$q(config);
|
|
@@ -25204,25 +24212,13 @@ function keyBuilder$I(luvio, config) {
|
|
|
25204
24212
|
}
|
|
25205
24213
|
function typeCheckConfig$t(untrustedConfig) {
|
|
25206
24214
|
const config = {};
|
|
25207
|
-
|
|
25208
|
-
|
|
25209
|
-
|
|
25210
|
-
}
|
|
25211
|
-
|
|
25212
|
-
|
|
25213
|
-
|
|
25214
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
|
|
25215
|
-
const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
|
|
25216
|
-
if (typeof untrustedConfig_relatedListNames_item === 'string') {
|
|
25217
|
-
untrustedConfig_relatedListNames_array.push(untrustedConfig_relatedListNames_item);
|
|
25218
|
-
}
|
|
25219
|
-
}
|
|
25220
|
-
config.relatedListNames = untrustedConfig_relatedListNames_array;
|
|
25221
|
-
}
|
|
25222
|
-
const untrustedConfig_maxCount = untrustedConfig.maxCount;
|
|
25223
|
-
if (typeof untrustedConfig_maxCount === 'number' && Math.floor(untrustedConfig_maxCount) === untrustedConfig_maxCount) {
|
|
25224
|
-
config.maxCount = untrustedConfig_maxCount;
|
|
25225
|
-
}
|
|
24215
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
24216
|
+
parentRecordId: 0 /* String */,
|
|
24217
|
+
maxCount: 3 /* Integer */,
|
|
24218
|
+
});
|
|
24219
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
24220
|
+
relatedListNames: 0 /* String */,
|
|
24221
|
+
});
|
|
25226
24222
|
return config;
|
|
25227
24223
|
}
|
|
25228
24224
|
function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
|
|
@@ -25336,18 +24332,11 @@ function keyBuilder$H(luvio, config) {
|
|
|
25336
24332
|
}
|
|
25337
24333
|
function typeCheckConfig$s(untrustedConfig) {
|
|
25338
24334
|
const config = {};
|
|
25339
|
-
|
|
25340
|
-
|
|
25341
|
-
|
|
25342
|
-
|
|
25343
|
-
|
|
25344
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
25345
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
25346
|
-
}
|
|
25347
|
-
const untrustedConfig_maxCount = untrustedConfig.maxCount;
|
|
25348
|
-
if (typeof untrustedConfig_maxCount === 'number' && Math.floor(untrustedConfig_maxCount) === untrustedConfig_maxCount) {
|
|
25349
|
-
config.maxCount = untrustedConfig_maxCount;
|
|
25350
|
-
}
|
|
24335
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
24336
|
+
parentRecordId: 0 /* String */,
|
|
24337
|
+
relatedListId: 0 /* String */,
|
|
24338
|
+
maxCount: 3 /* Integer */,
|
|
24339
|
+
});
|
|
25351
24340
|
return config;
|
|
25352
24341
|
}
|
|
25353
24342
|
function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
@@ -26259,20 +25248,11 @@ function createResourceParams$o(config) {
|
|
|
26259
25248
|
return resourceParams;
|
|
26260
25249
|
}
|
|
26261
25250
|
function coerceConfig$9(config) {
|
|
26262
|
-
|
|
26263
|
-
|
|
26264
|
-
|
|
26265
|
-
|
|
26266
|
-
}
|
|
26267
|
-
const relatedListNames = config.relatedListNames;
|
|
26268
|
-
if (relatedListNames !== undefined) {
|
|
26269
|
-
coercedConfig.relatedListNames = relatedListNames;
|
|
26270
|
-
}
|
|
26271
|
-
const recordTypeId = config.recordTypeId;
|
|
26272
|
-
if (recordTypeId !== undefined) {
|
|
26273
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
26274
|
-
}
|
|
26275
|
-
return coercedConfig;
|
|
25251
|
+
return coerceConfig$E(config, {
|
|
25252
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
25253
|
+
'relatedListNames': 1,
|
|
25254
|
+
'recordTypeId': 1,
|
|
25255
|
+
});
|
|
26276
25256
|
}
|
|
26277
25257
|
function keyBuilder$D(luvio, config) {
|
|
26278
25258
|
const resourceParams = createResourceParams$o(config);
|
|
@@ -26280,25 +25260,13 @@ function keyBuilder$D(luvio, config) {
|
|
|
26280
25260
|
}
|
|
26281
25261
|
function typeCheckConfig$r(untrustedConfig) {
|
|
26282
25262
|
const config = {};
|
|
26283
|
-
|
|
26284
|
-
|
|
26285
|
-
|
|
26286
|
-
}
|
|
26287
|
-
|
|
26288
|
-
|
|
26289
|
-
|
|
26290
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
|
|
26291
|
-
const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
|
|
26292
|
-
if (typeof untrustedConfig_relatedListNames_item === 'string') {
|
|
26293
|
-
untrustedConfig_relatedListNames_array.push(untrustedConfig_relatedListNames_item);
|
|
26294
|
-
}
|
|
26295
|
-
}
|
|
26296
|
-
config.relatedListNames = untrustedConfig_relatedListNames_array;
|
|
26297
|
-
}
|
|
26298
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
26299
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
26300
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
26301
|
-
}
|
|
25263
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
25264
|
+
parentObjectApiName: 0 /* String */,
|
|
25265
|
+
recordTypeId: 0 /* String */,
|
|
25266
|
+
});
|
|
25267
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
25268
|
+
relatedListNames: 0 /* String */,
|
|
25269
|
+
});
|
|
26302
25270
|
return config;
|
|
26303
25271
|
}
|
|
26304
25272
|
function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
|
|
@@ -26730,16 +25698,10 @@ function createResourceParams$n(config) {
|
|
|
26730
25698
|
return resourceParams;
|
|
26731
25699
|
}
|
|
26732
25700
|
function coerceConfig$8(config) {
|
|
26733
|
-
|
|
26734
|
-
|
|
26735
|
-
|
|
26736
|
-
|
|
26737
|
-
}
|
|
26738
|
-
const recordTypeId = config.recordTypeId;
|
|
26739
|
-
if (recordTypeId !== undefined) {
|
|
26740
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
26741
|
-
}
|
|
26742
|
-
return coercedConfig;
|
|
25701
|
+
return coerceConfig$E(config, {
|
|
25702
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
25703
|
+
'recordTypeId': 1,
|
|
25704
|
+
});
|
|
26743
25705
|
}
|
|
26744
25706
|
function keyBuilder$A(luvio, config) {
|
|
26745
25707
|
const resourceParams = createResourceParams$n(config);
|
|
@@ -26747,14 +25709,10 @@ function keyBuilder$A(luvio, config) {
|
|
|
26747
25709
|
}
|
|
26748
25710
|
function typeCheckConfig$q(untrustedConfig) {
|
|
26749
25711
|
const config = {};
|
|
26750
|
-
|
|
26751
|
-
|
|
26752
|
-
|
|
26753
|
-
}
|
|
26754
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
26755
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
26756
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
26757
|
-
}
|
|
25712
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
25713
|
+
parentObjectApiName: 0 /* String */,
|
|
25714
|
+
recordTypeId: 0 /* String */,
|
|
25715
|
+
});
|
|
26758
25716
|
return config;
|
|
26759
25717
|
}
|
|
26760
25718
|
function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
|
|
@@ -26863,32 +25821,14 @@ function createResourceParams$m(config) {
|
|
|
26863
25821
|
return resourceParams;
|
|
26864
25822
|
}
|
|
26865
25823
|
function coerceConfig$7(config) {
|
|
26866
|
-
|
|
26867
|
-
|
|
26868
|
-
|
|
26869
|
-
|
|
26870
|
-
|
|
26871
|
-
|
|
26872
|
-
|
|
26873
|
-
|
|
26874
|
-
}
|
|
26875
|
-
const fields = config.fields;
|
|
26876
|
-
if (fields !== undefined) {
|
|
26877
|
-
coercedConfig.fields = fields;
|
|
26878
|
-
}
|
|
26879
|
-
const optionalFields = config.optionalFields;
|
|
26880
|
-
if (optionalFields !== undefined) {
|
|
26881
|
-
coercedConfig.optionalFields = optionalFields;
|
|
26882
|
-
}
|
|
26883
|
-
const recordTypeId = config.recordTypeId;
|
|
26884
|
-
if (recordTypeId !== undefined) {
|
|
26885
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
26886
|
-
}
|
|
26887
|
-
const restrictColumnsToLayout = config.restrictColumnsToLayout;
|
|
26888
|
-
if (restrictColumnsToLayout !== undefined) {
|
|
26889
|
-
coercedConfig.restrictColumnsToLayout = restrictColumnsToLayout;
|
|
26890
|
-
}
|
|
26891
|
-
return coercedConfig;
|
|
25824
|
+
return coerceConfig$E(config, {
|
|
25825
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
25826
|
+
'relatedListId': 1,
|
|
25827
|
+
'fields': 1,
|
|
25828
|
+
'optionalFields': 1,
|
|
25829
|
+
'recordTypeId': 1,
|
|
25830
|
+
'restrictColumnsToLayout': 1,
|
|
25831
|
+
});
|
|
26892
25832
|
}
|
|
26893
25833
|
function keyBuilder$z(luvio, config) {
|
|
26894
25834
|
const resourceParams = createResourceParams$m(config);
|
|
@@ -26896,44 +25836,16 @@ function keyBuilder$z(luvio, config) {
|
|
|
26896
25836
|
}
|
|
26897
25837
|
function typeCheckConfig$p(untrustedConfig) {
|
|
26898
25838
|
const config = {};
|
|
26899
|
-
|
|
26900
|
-
|
|
26901
|
-
|
|
26902
|
-
|
|
26903
|
-
|
|
26904
|
-
|
|
26905
|
-
|
|
26906
|
-
|
|
26907
|
-
|
|
26908
|
-
|
|
26909
|
-
const untrustedConfig_fields_array = [];
|
|
26910
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
26911
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
26912
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
26913
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
26914
|
-
}
|
|
26915
|
-
}
|
|
26916
|
-
config.fields = untrustedConfig_fields_array;
|
|
26917
|
-
}
|
|
26918
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
26919
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
26920
|
-
const untrustedConfig_optionalFields_array = [];
|
|
26921
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
26922
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
26923
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
26924
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
26925
|
-
}
|
|
26926
|
-
}
|
|
26927
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
26928
|
-
}
|
|
26929
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
26930
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
26931
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
26932
|
-
}
|
|
26933
|
-
const untrustedConfig_restrictColumnsToLayout = untrustedConfig.restrictColumnsToLayout;
|
|
26934
|
-
if (typeof untrustedConfig_restrictColumnsToLayout === 'boolean') {
|
|
26935
|
-
config.restrictColumnsToLayout = untrustedConfig_restrictColumnsToLayout;
|
|
26936
|
-
}
|
|
25839
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
25840
|
+
parentObjectApiName: 0 /* String */,
|
|
25841
|
+
relatedListId: 0 /* String */,
|
|
25842
|
+
recordTypeId: 0 /* String */,
|
|
25843
|
+
restrictColumnsToLayout: 1 /* Boolean */,
|
|
25844
|
+
});
|
|
25845
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
25846
|
+
fields: 0 /* String */,
|
|
25847
|
+
optionalFields: 0 /* String */,
|
|
25848
|
+
});
|
|
26937
25849
|
return config;
|
|
26938
25850
|
}
|
|
26939
25851
|
function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
|
|
@@ -27137,43 +26049,21 @@ function createResourceParams$l(config) {
|
|
|
27137
26049
|
return resourceParams;
|
|
27138
26050
|
}
|
|
27139
26051
|
function coerceConfig$6(config) {
|
|
27140
|
-
|
|
27141
|
-
|
|
27142
|
-
|
|
27143
|
-
|
|
27144
|
-
|
|
27145
|
-
|
|
27146
|
-
|
|
27147
|
-
coercedConfig.relatedListId = relatedListId;
|
|
27148
|
-
}
|
|
27149
|
-
const recordTypeId = config.recordTypeId;
|
|
27150
|
-
if (recordTypeId !== undefined) {
|
|
27151
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
27152
|
-
}
|
|
27153
|
-
const orderedByInfo = config.orderedByInfo;
|
|
27154
|
-
if (orderedByInfo !== undefined) {
|
|
27155
|
-
coercedConfig.orderedByInfo = orderedByInfo;
|
|
27156
|
-
}
|
|
27157
|
-
const userPreferences = config.userPreferences;
|
|
27158
|
-
if (userPreferences !== undefined) {
|
|
27159
|
-
coercedConfig.userPreferences = userPreferences;
|
|
27160
|
-
}
|
|
27161
|
-
return coercedConfig;
|
|
26052
|
+
return coerceConfig$E(config, {
|
|
26053
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
26054
|
+
'relatedListId': 1,
|
|
26055
|
+
'recordTypeId': 1,
|
|
26056
|
+
'orderedByInfo': 1,
|
|
26057
|
+
'userPreferences': 1,
|
|
26058
|
+
});
|
|
27162
26059
|
}
|
|
27163
26060
|
function typeCheckConfig$o(untrustedConfig) {
|
|
27164
26061
|
const config = {};
|
|
27165
|
-
|
|
27166
|
-
|
|
27167
|
-
|
|
27168
|
-
|
|
27169
|
-
|
|
27170
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
27171
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
27172
|
-
}
|
|
27173
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
27174
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
27175
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
27176
|
-
}
|
|
26062
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26063
|
+
parentObjectApiName: 0 /* String */,
|
|
26064
|
+
relatedListId: 0 /* String */,
|
|
26065
|
+
recordTypeId: 0 /* String */,
|
|
26066
|
+
});
|
|
27177
26067
|
const untrustedConfig_orderedByInfo = untrustedConfig.orderedByInfo;
|
|
27178
26068
|
if (ArrayIsArray$1(untrustedConfig_orderedByInfo)) {
|
|
27179
26069
|
const untrustedConfig_orderedByInfo_array = [];
|
|
@@ -27699,17 +26589,9 @@ function keyBuilder$v(luvio, config) {
|
|
|
27699
26589
|
}
|
|
27700
26590
|
function typeCheckConfig$n(untrustedConfig) {
|
|
27701
26591
|
const config = {};
|
|
27702
|
-
|
|
27703
|
-
|
|
27704
|
-
|
|
27705
|
-
for (let i = 0, arrayLength = untrustedConfig_preferencesIds.length; i < arrayLength; i++) {
|
|
27706
|
-
const untrustedConfig_preferencesIds_item = untrustedConfig_preferencesIds[i];
|
|
27707
|
-
if (typeof untrustedConfig_preferencesIds_item === 'string') {
|
|
27708
|
-
untrustedConfig_preferencesIds_array.push(untrustedConfig_preferencesIds_item);
|
|
27709
|
-
}
|
|
27710
|
-
}
|
|
27711
|
-
config.preferencesIds = untrustedConfig_preferencesIds_array;
|
|
27712
|
-
}
|
|
26592
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
26593
|
+
preferencesIds: 0 /* String */,
|
|
26594
|
+
});
|
|
27713
26595
|
return config;
|
|
27714
26596
|
}
|
|
27715
26597
|
function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
@@ -27819,10 +26701,9 @@ function keyBuilder$u(luvio, config) {
|
|
|
27819
26701
|
}
|
|
27820
26702
|
function typeCheckConfig$m(untrustedConfig) {
|
|
27821
26703
|
const config = {};
|
|
27822
|
-
|
|
27823
|
-
|
|
27824
|
-
|
|
27825
|
-
}
|
|
26704
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26705
|
+
preferencesId: 0 /* String */,
|
|
26706
|
+
});
|
|
27826
26707
|
return config;
|
|
27827
26708
|
}
|
|
27828
26709
|
function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
|
|
@@ -27974,10 +26855,9 @@ function createResourceParams$i(config) {
|
|
|
27974
26855
|
}
|
|
27975
26856
|
function typeCheckConfig$l(untrustedConfig) {
|
|
27976
26857
|
const config = {};
|
|
27977
|
-
|
|
27978
|
-
|
|
27979
|
-
|
|
27980
|
-
}
|
|
26858
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26859
|
+
preferencesId: 0 /* String */,
|
|
26860
|
+
});
|
|
27981
26861
|
const untrustedConfig_columnWidths = untrustedConfig.columnWidths;
|
|
27982
26862
|
if (untrustedIsObject(untrustedConfig_columnWidths)) {
|
|
27983
26863
|
const untrustedConfig_columnWidths_object = {};
|
|
@@ -29312,10 +28192,9 @@ function keyBuilder$q(luvio, config) {
|
|
|
29312
28192
|
}
|
|
29313
28193
|
function typeCheckConfig$k(untrustedConfig) {
|
|
29314
28194
|
const config = {};
|
|
29315
|
-
|
|
29316
|
-
|
|
29317
|
-
|
|
29318
|
-
}
|
|
28195
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
28196
|
+
parentRecordId: 0 /* String */,
|
|
28197
|
+
});
|
|
29319
28198
|
const untrustedConfig_relatedListParameters = untrustedConfig.relatedListParameters;
|
|
29320
28199
|
if (ArrayIsArray$1(untrustedConfig_relatedListParameters)) {
|
|
29321
28200
|
const untrustedConfig_relatedListParameters_array = [];
|
|
@@ -29453,59 +28332,18 @@ function keyBuilder$p(luvio, config) {
|
|
|
29453
28332
|
}
|
|
29454
28333
|
function typeCheckConfig$j(untrustedConfig) {
|
|
29455
28334
|
const config = {};
|
|
29456
|
-
|
|
29457
|
-
|
|
29458
|
-
|
|
29459
|
-
|
|
29460
|
-
|
|
29461
|
-
|
|
29462
|
-
|
|
29463
|
-
|
|
29464
|
-
|
|
29465
|
-
|
|
29466
|
-
|
|
29467
|
-
|
|
29468
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
29469
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
29470
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
29471
|
-
}
|
|
29472
|
-
}
|
|
29473
|
-
config.fields = untrustedConfig_fields_array;
|
|
29474
|
-
}
|
|
29475
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
29476
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
29477
|
-
const untrustedConfig_optionalFields_array = [];
|
|
29478
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
29479
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
29480
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
29481
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
29482
|
-
}
|
|
29483
|
-
}
|
|
29484
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
29485
|
-
}
|
|
29486
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
29487
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
29488
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
29489
|
-
}
|
|
29490
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
29491
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
29492
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
29493
|
-
}
|
|
29494
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
29495
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
29496
|
-
const untrustedConfig_sortBy_array = [];
|
|
29497
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
29498
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
29499
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
29500
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
29501
|
-
}
|
|
29502
|
-
}
|
|
29503
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
29504
|
-
}
|
|
29505
|
-
const untrustedConfig_where = untrustedConfig.where;
|
|
29506
|
-
if (typeof untrustedConfig_where === 'string') {
|
|
29507
|
-
config.where = untrustedConfig_where;
|
|
29508
|
-
}
|
|
28335
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
28336
|
+
parentRecordId: 0 /* String */,
|
|
28337
|
+
relatedListId: 0 /* String */,
|
|
28338
|
+
pageSize: 3 /* Integer */,
|
|
28339
|
+
pageToken: 0 /* String */,
|
|
28340
|
+
where: 0 /* String */,
|
|
28341
|
+
});
|
|
28342
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
28343
|
+
fields: 0 /* String */,
|
|
28344
|
+
optionalFields: 0 /* String */,
|
|
28345
|
+
sortBy: 0 /* String */,
|
|
28346
|
+
});
|
|
29509
28347
|
return config;
|
|
29510
28348
|
}
|
|
29511
28349
|
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
@@ -30128,10 +28966,9 @@ function keyBuilder$m(luvio, config) {
|
|
|
30128
28966
|
}
|
|
30129
28967
|
function typeCheckConfig$i(untrustedConfig) {
|
|
30130
28968
|
const config = {};
|
|
30131
|
-
|
|
30132
|
-
|
|
30133
|
-
|
|
30134
|
-
}
|
|
28969
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
28970
|
+
objectApiName: 0 /* String */,
|
|
28971
|
+
});
|
|
30135
28972
|
return config;
|
|
30136
28973
|
}
|
|
30137
28974
|
function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
@@ -30430,18 +29267,11 @@ function keyBuilder$j(luvio, config) {
|
|
|
30430
29267
|
}
|
|
30431
29268
|
function typeCheckConfig$h(untrustedConfig) {
|
|
30432
29269
|
const config = {};
|
|
30433
|
-
|
|
30434
|
-
|
|
30435
|
-
|
|
30436
|
-
|
|
30437
|
-
|
|
30438
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
30439
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
30440
|
-
}
|
|
30441
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
30442
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
30443
|
-
config.q = untrustedConfig_q;
|
|
30444
|
-
}
|
|
29270
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
29271
|
+
filterApiName: 0 /* String */,
|
|
29272
|
+
objectApiName: 0 /* String */,
|
|
29273
|
+
q: 0 /* String */,
|
|
29274
|
+
});
|
|
30445
29275
|
return config;
|
|
30446
29276
|
}
|
|
30447
29277
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -30834,14 +29664,10 @@ function keyBuilder$g(luvio, config) {
|
|
|
30834
29664
|
}
|
|
30835
29665
|
function typeCheckConfig$g(untrustedConfig) {
|
|
30836
29666
|
const config = {};
|
|
30837
|
-
|
|
30838
|
-
|
|
30839
|
-
|
|
30840
|
-
}
|
|
30841
|
-
const untrustedConfig_objectApiName = untrustedConfig.objectApiName;
|
|
30842
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
30843
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
30844
|
-
}
|
|
29667
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
29668
|
+
fieldApiName: 0 /* String */,
|
|
29669
|
+
objectApiName: 0 /* String */,
|
|
29670
|
+
});
|
|
30845
29671
|
return config;
|
|
30846
29672
|
}
|
|
30847
29673
|
function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
@@ -31425,32 +30251,13 @@ function keyBuilder$d(luvio, config) {
|
|
|
31425
30251
|
}
|
|
31426
30252
|
function typeCheckConfig$f(untrustedConfig) {
|
|
31427
30253
|
const config = {};
|
|
31428
|
-
|
|
31429
|
-
|
|
31430
|
-
|
|
31431
|
-
|
|
31432
|
-
|
|
31433
|
-
|
|
31434
|
-
|
|
31435
|
-
for (let i = 0, arrayLength = untrustedConfig_answerTypes.length; i < arrayLength; i++) {
|
|
31436
|
-
const untrustedConfig_answerTypes_item = untrustedConfig_answerTypes[i];
|
|
31437
|
-
if (typeof untrustedConfig_answerTypes_item === 'string') {
|
|
31438
|
-
untrustedConfig_answerTypes_array.push(untrustedConfig_answerTypes_item);
|
|
31439
|
-
}
|
|
31440
|
-
}
|
|
31441
|
-
config.answerTypes = untrustedConfig_answerTypes_array;
|
|
31442
|
-
}
|
|
31443
|
-
const untrustedConfig_objectApiNames = untrustedConfig.objectApiNames;
|
|
31444
|
-
if (ArrayIsArray$1(untrustedConfig_objectApiNames)) {
|
|
31445
|
-
const untrustedConfig_objectApiNames_array = [];
|
|
31446
|
-
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
31447
|
-
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
31448
|
-
if (typeof untrustedConfig_objectApiNames_item === 'string') {
|
|
31449
|
-
untrustedConfig_objectApiNames_array.push(untrustedConfig_objectApiNames_item);
|
|
31450
|
-
}
|
|
31451
|
-
}
|
|
31452
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
31453
|
-
}
|
|
30254
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30255
|
+
q: 0 /* String */,
|
|
30256
|
+
});
|
|
30257
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
30258
|
+
answerTypes: 0 /* String */,
|
|
30259
|
+
objectApiNames: 0 /* String */,
|
|
30260
|
+
});
|
|
31454
30261
|
return config;
|
|
31455
30262
|
}
|
|
31456
30263
|
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
@@ -31798,14 +30605,13 @@ function keyBuilder$a(luvio, config) {
|
|
|
31798
30605
|
}
|
|
31799
30606
|
function typeCheckConfig$e(untrustedConfig) {
|
|
31800
30607
|
const config = {};
|
|
31801
|
-
|
|
31802
|
-
|
|
31803
|
-
|
|
31804
|
-
|
|
31805
|
-
|
|
31806
|
-
|
|
31807
|
-
|
|
31808
|
-
}
|
|
30608
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30609
|
+
objectApiName: 0 /* String */,
|
|
30610
|
+
q: 0 /* String */,
|
|
30611
|
+
pageSize: 3 /* Integer */,
|
|
30612
|
+
pageToken: 0 /* String */,
|
|
30613
|
+
sortBy: 0 /* String */,
|
|
30614
|
+
});
|
|
31809
30615
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
31810
30616
|
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
31811
30617
|
const untrustedConfig_filters_array = [];
|
|
@@ -31818,18 +30624,6 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
31818
30624
|
}
|
|
31819
30625
|
config.filters = untrustedConfig_filters_array;
|
|
31820
30626
|
}
|
|
31821
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
31822
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
31823
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
31824
|
-
}
|
|
31825
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
31826
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
31827
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
31828
|
-
}
|
|
31829
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
31830
|
-
if (typeof untrustedConfig_sortBy === 'string') {
|
|
31831
|
-
config.sortBy = untrustedConfig_sortBy;
|
|
31832
|
-
}
|
|
31833
30627
|
return config;
|
|
31834
30628
|
}
|
|
31835
30629
|
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
@@ -31983,22 +30777,12 @@ function createResourceParams$a(config) {
|
|
|
31983
30777
|
}
|
|
31984
30778
|
function typeCheckConfig$d(untrustedConfig) {
|
|
31985
30779
|
const config = {};
|
|
31986
|
-
|
|
31987
|
-
|
|
31988
|
-
|
|
31989
|
-
|
|
31990
|
-
|
|
31991
|
-
|
|
31992
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
31993
|
-
}
|
|
31994
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
31995
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
31996
|
-
config.apiName = untrustedConfig_apiName;
|
|
31997
|
-
}
|
|
31998
|
-
const untrustedConfig_contextId = untrustedConfig.contextId;
|
|
31999
|
-
if (typeof untrustedConfig_contextId === 'string') {
|
|
32000
|
-
config.contextId = untrustedConfig_contextId;
|
|
32001
|
-
}
|
|
30780
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30781
|
+
actionApiName: 0 /* String */,
|
|
30782
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
30783
|
+
apiName: 0 /* String */,
|
|
30784
|
+
contextId: 0 /* String */,
|
|
30785
|
+
});
|
|
32002
30786
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
32003
30787
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
32004
30788
|
const untrustedConfig_fields_object = {};
|
|
@@ -32140,22 +30924,12 @@ function createResourceParams$9(config) {
|
|
|
32140
30924
|
}
|
|
32141
30925
|
function typeCheckConfig$c(untrustedConfig) {
|
|
32142
30926
|
const config = {};
|
|
32143
|
-
|
|
32144
|
-
|
|
32145
|
-
|
|
32146
|
-
|
|
32147
|
-
|
|
32148
|
-
|
|
32149
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
32150
|
-
}
|
|
32151
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
32152
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
32153
|
-
config.apiName = untrustedConfig_apiName;
|
|
32154
|
-
}
|
|
32155
|
-
const untrustedConfig_contextId = untrustedConfig.contextId;
|
|
32156
|
-
if (typeof untrustedConfig_contextId === 'string') {
|
|
32157
|
-
config.contextId = untrustedConfig_contextId;
|
|
32158
|
-
}
|
|
30927
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30928
|
+
actionApiName: 0 /* String */,
|
|
30929
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
30930
|
+
apiName: 0 /* String */,
|
|
30931
|
+
contextId: 0 /* String */,
|
|
30932
|
+
});
|
|
32159
30933
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
32160
30934
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
32161
30935
|
const untrustedConfig_fields_object = {};
|
|
@@ -32447,55 +31221,17 @@ function keyBuilder$9(luvio, config) {
|
|
|
32447
31221
|
}
|
|
32448
31222
|
function typeCheckConfig$b(untrustedConfig) {
|
|
32449
31223
|
const config = {};
|
|
32450
|
-
|
|
32451
|
-
|
|
32452
|
-
|
|
32453
|
-
|
|
32454
|
-
|
|
32455
|
-
|
|
32456
|
-
|
|
32457
|
-
|
|
32458
|
-
|
|
32459
|
-
|
|
32460
|
-
|
|
32461
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
32462
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
32463
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
32464
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
32465
|
-
}
|
|
32466
|
-
}
|
|
32467
|
-
config.fields = untrustedConfig_fields_array;
|
|
32468
|
-
}
|
|
32469
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
32470
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
32471
|
-
const untrustedConfig_optionalFields_array = [];
|
|
32472
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
32473
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
32474
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
32475
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
32476
|
-
}
|
|
32477
|
-
}
|
|
32478
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
32479
|
-
}
|
|
32480
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
32481
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
32482
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
32483
|
-
}
|
|
32484
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
32485
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
32486
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
32487
|
-
}
|
|
32488
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
32489
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
32490
|
-
const untrustedConfig_sortBy_array = [];
|
|
32491
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
32492
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
32493
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
32494
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
32495
|
-
}
|
|
32496
|
-
}
|
|
32497
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
32498
|
-
}
|
|
31224
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
31225
|
+
listViewApiName: 0 /* String */,
|
|
31226
|
+
objectApiName: 0 /* String */,
|
|
31227
|
+
pageSize: 3 /* Integer */,
|
|
31228
|
+
pageToken: 0 /* String */,
|
|
31229
|
+
});
|
|
31230
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
31231
|
+
fields: 0 /* String */,
|
|
31232
|
+
optionalFields: 0 /* String */,
|
|
31233
|
+
sortBy: 0 /* String */,
|
|
31234
|
+
});
|
|
32499
31235
|
return config;
|
|
32500
31236
|
}
|
|
32501
31237
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -32717,90 +31453,33 @@ function createResourceRequest$9(config) {
|
|
|
32717
31453
|
}
|
|
32718
31454
|
|
|
32719
31455
|
function coerceConfig$5(config) {
|
|
32720
|
-
|
|
32721
|
-
|
|
32722
|
-
|
|
32723
|
-
|
|
32724
|
-
|
|
32725
|
-
|
|
32726
|
-
|
|
32727
|
-
|
|
32728
|
-
|
|
32729
|
-
|
|
32730
|
-
|
|
32731
|
-
coercedConfig.dependentFieldBindings = dependentFieldBindings;
|
|
32732
|
-
}
|
|
32733
|
-
const page = config.page;
|
|
32734
|
-
if (page !== undefined) {
|
|
32735
|
-
coercedConfig.page = page;
|
|
32736
|
-
}
|
|
32737
|
-
const pageSize = config.pageSize;
|
|
32738
|
-
if (pageSize !== undefined) {
|
|
32739
|
-
coercedConfig.pageSize = pageSize;
|
|
32740
|
-
}
|
|
32741
|
-
const q = config.q;
|
|
32742
|
-
if (q !== undefined) {
|
|
32743
|
-
coercedConfig.q = q;
|
|
32744
|
-
}
|
|
32745
|
-
const searchType = config.searchType;
|
|
32746
|
-
if (searchType !== undefined) {
|
|
32747
|
-
coercedConfig.searchType = searchType;
|
|
32748
|
-
}
|
|
32749
|
-
const sourceRecordId = config.sourceRecordId;
|
|
32750
|
-
if (sourceRecordId !== undefined) {
|
|
32751
|
-
coercedConfig.sourceRecordId = sourceRecordId;
|
|
32752
|
-
}
|
|
32753
|
-
const targetApiName = getObjectApiName$1(config.targetApiName);
|
|
32754
|
-
if (targetApiName !== undefined) {
|
|
32755
|
-
coercedConfig.targetApiName = targetApiName;
|
|
32756
|
-
}
|
|
32757
|
-
return coercedConfig;
|
|
31456
|
+
return coerceConfig$E(config, {
|
|
31457
|
+
'fieldApiName': getFieldApiName,
|
|
31458
|
+
'objectApiName': 1,
|
|
31459
|
+
'dependentFieldBindings': 1,
|
|
31460
|
+
'page': 1,
|
|
31461
|
+
'pageSize': 1,
|
|
31462
|
+
'q': 1,
|
|
31463
|
+
'searchType': 1,
|
|
31464
|
+
'sourceRecordId': 1,
|
|
31465
|
+
'targetApiName': getObjectApiName$1,
|
|
31466
|
+
});
|
|
32758
31467
|
}
|
|
32759
31468
|
function typeCheckConfig$a(untrustedConfig) {
|
|
32760
31469
|
const config = {};
|
|
32761
|
-
|
|
32762
|
-
|
|
32763
|
-
|
|
32764
|
-
|
|
32765
|
-
|
|
32766
|
-
|
|
32767
|
-
|
|
32768
|
-
|
|
32769
|
-
|
|
32770
|
-
|
|
32771
|
-
|
|
32772
|
-
|
|
32773
|
-
|
|
32774
|
-
if (typeof untrustedConfig_dependentFieldBindings_item === 'string') {
|
|
32775
|
-
untrustedConfig_dependentFieldBindings_array.push(untrustedConfig_dependentFieldBindings_item);
|
|
32776
|
-
}
|
|
32777
|
-
}
|
|
32778
|
-
config.dependentFieldBindings = untrustedConfig_dependentFieldBindings_array;
|
|
32779
|
-
}
|
|
32780
|
-
const untrustedConfig_page = untrustedConfig.page;
|
|
32781
|
-
if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
|
|
32782
|
-
config.page = untrustedConfig_page;
|
|
32783
|
-
}
|
|
32784
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
32785
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
32786
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
32787
|
-
}
|
|
32788
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
32789
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
32790
|
-
config.q = untrustedConfig_q;
|
|
32791
|
-
}
|
|
32792
|
-
const untrustedConfig_searchType = untrustedConfig.searchType;
|
|
32793
|
-
if (typeof untrustedConfig_searchType === 'string') {
|
|
32794
|
-
config.searchType = untrustedConfig_searchType;
|
|
32795
|
-
}
|
|
32796
|
-
const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
|
|
32797
|
-
if (typeof untrustedConfig_sourceRecordId === 'string') {
|
|
32798
|
-
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
32799
|
-
}
|
|
32800
|
-
const untrustedConfig_targetApiName = untrustedConfig.targetApiName;
|
|
32801
|
-
if (typeof untrustedConfig_targetApiName === 'string') {
|
|
32802
|
-
config.targetApiName = untrustedConfig_targetApiName;
|
|
32803
|
-
}
|
|
31470
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
31471
|
+
fieldApiName: 0 /* String */,
|
|
31472
|
+
objectApiName: 0 /* String */,
|
|
31473
|
+
page: 3 /* Integer */,
|
|
31474
|
+
pageSize: 3 /* Integer */,
|
|
31475
|
+
q: 0 /* String */,
|
|
31476
|
+
searchType: 0 /* String */,
|
|
31477
|
+
sourceRecordId: 0 /* String */,
|
|
31478
|
+
targetApiName: 0 /* String */,
|
|
31479
|
+
});
|
|
31480
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
31481
|
+
dependentFieldBindings: 0 /* String */,
|
|
31482
|
+
});
|
|
32804
31483
|
return config;
|
|
32805
31484
|
}
|
|
32806
31485
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -33007,30 +31686,14 @@ const updateRecordAvatar_ConfigPropertyNames = {
|
|
|
33007
31686
|
};
|
|
33008
31687
|
function typeCheckConfig$9(untrustedConfig) {
|
|
33009
31688
|
const config = {};
|
|
33010
|
-
|
|
33011
|
-
|
|
33012
|
-
|
|
33013
|
-
|
|
33014
|
-
|
|
33015
|
-
|
|
33016
|
-
|
|
33017
|
-
}
|
|
33018
|
-
const untrustedConfig_blueMasterId = untrustedConfig.blueMasterId;
|
|
33019
|
-
if (typeof untrustedConfig_blueMasterId === 'string') {
|
|
33020
|
-
config.blueMasterId = untrustedConfig_blueMasterId;
|
|
33021
|
-
}
|
|
33022
|
-
const untrustedConfig_externalId = untrustedConfig.externalId;
|
|
33023
|
-
if (typeof untrustedConfig_externalId === 'string') {
|
|
33024
|
-
config.externalId = untrustedConfig_externalId;
|
|
33025
|
-
}
|
|
33026
|
-
const untrustedConfig_photoUrl = untrustedConfig.photoUrl;
|
|
33027
|
-
if (typeof untrustedConfig_photoUrl === 'string') {
|
|
33028
|
-
config.photoUrl = untrustedConfig_photoUrl;
|
|
33029
|
-
}
|
|
33030
|
-
const untrustedConfig_profileName = untrustedConfig.profileName;
|
|
33031
|
-
if (typeof untrustedConfig_profileName === 'string') {
|
|
33032
|
-
config.profileName = untrustedConfig_profileName;
|
|
33033
|
-
}
|
|
31689
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
31690
|
+
recordId: 0 /* String */,
|
|
31691
|
+
actionType: 0 /* String */,
|
|
31692
|
+
blueMasterId: 0 /* String */,
|
|
31693
|
+
externalId: 0 /* String */,
|
|
31694
|
+
photoUrl: 0 /* String */,
|
|
31695
|
+
profileName: 0 /* String */,
|
|
31696
|
+
});
|
|
33034
31697
|
return config;
|
|
33035
31698
|
}
|
|
33036
31699
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -33683,50 +32346,23 @@ function createResourceParams$7(config) {
|
|
|
33683
32346
|
return resourceParams;
|
|
33684
32347
|
}
|
|
33685
32348
|
function coerceConfig$4(config) {
|
|
33686
|
-
|
|
33687
|
-
|
|
33688
|
-
|
|
33689
|
-
|
|
33690
|
-
|
|
33691
|
-
|
|
33692
|
-
if (formFactor !== undefined) {
|
|
33693
|
-
coercedConfig.formFactor = formFactor;
|
|
33694
|
-
}
|
|
33695
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
33696
|
-
if (optionalFields !== undefined) {
|
|
33697
|
-
coercedConfig.optionalFields = optionalFields;
|
|
33698
|
-
}
|
|
33699
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
33700
|
-
if (recordTypeId !== undefined) {
|
|
33701
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
33702
|
-
}
|
|
33703
|
-
return coercedConfig;
|
|
32349
|
+
return coerceConfig$E(config, {
|
|
32350
|
+
'objectApiName': getObjectApiName$1,
|
|
32351
|
+
'formFactor': coerceFormFactor,
|
|
32352
|
+
'optionalFields': getFieldApiNamesArray,
|
|
32353
|
+
'recordTypeId': getRecordId18,
|
|
32354
|
+
});
|
|
33704
32355
|
}
|
|
33705
32356
|
function typeCheckConfig$8(untrustedConfig) {
|
|
33706
32357
|
const config = {};
|
|
33707
|
-
|
|
33708
|
-
|
|
33709
|
-
|
|
33710
|
-
|
|
33711
|
-
|
|
33712
|
-
|
|
33713
|
-
|
|
33714
|
-
}
|
|
33715
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
33716
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
33717
|
-
const untrustedConfig_optionalFields_array = [];
|
|
33718
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
33719
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
33720
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
33721
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
33722
|
-
}
|
|
33723
|
-
}
|
|
33724
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
33725
|
-
}
|
|
33726
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
33727
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
33728
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
33729
|
-
}
|
|
32358
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
32359
|
+
objectApiName: 0 /* String */,
|
|
32360
|
+
formFactor: 0 /* String */,
|
|
32361
|
+
recordTypeId: 0 /* String */,
|
|
32362
|
+
});
|
|
32363
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
32364
|
+
optionalFields: 0 /* String */,
|
|
32365
|
+
});
|
|
33730
32366
|
return config;
|
|
33731
32367
|
}
|
|
33732
32368
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -34401,42 +33037,21 @@ function createResourceParams$6(config) {
|
|
|
34401
33037
|
return resourceParams;
|
|
34402
33038
|
}
|
|
34403
33039
|
function coerceConfig$3(config) {
|
|
34404
|
-
|
|
34405
|
-
|
|
34406
|
-
|
|
34407
|
-
|
|
34408
|
-
}
|
|
34409
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
34410
|
-
if (optionalFields !== undefined) {
|
|
34411
|
-
coercedConfig.optionalFields = optionalFields;
|
|
34412
|
-
}
|
|
34413
|
-
const recordTypeId = config.recordTypeId;
|
|
34414
|
-
if (recordTypeId !== undefined) {
|
|
34415
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
34416
|
-
}
|
|
34417
|
-
return coercedConfig;
|
|
33040
|
+
return coerceConfig$E(config, {
|
|
33041
|
+
'recordId': getRecordId18,
|
|
33042
|
+
'optionalFields': getFieldApiNamesArray,
|
|
33043
|
+
'recordTypeId': 1,
|
|
33044
|
+
});
|
|
34418
33045
|
}
|
|
34419
33046
|
function typeCheckConfig$7(untrustedConfig) {
|
|
34420
33047
|
const config = {};
|
|
34421
|
-
|
|
34422
|
-
|
|
34423
|
-
|
|
34424
|
-
}
|
|
34425
|
-
|
|
34426
|
-
|
|
34427
|
-
|
|
34428
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
34429
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
34430
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
34431
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
34432
|
-
}
|
|
34433
|
-
}
|
|
34434
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
34435
|
-
}
|
|
34436
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
34437
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
34438
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
34439
|
-
}
|
|
33048
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
33049
|
+
recordId: 0 /* String */,
|
|
33050
|
+
recordTypeId: 0 /* String */,
|
|
33051
|
+
});
|
|
33052
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
33053
|
+
optionalFields: 0 /* String */,
|
|
33054
|
+
});
|
|
34440
33055
|
return config;
|
|
34441
33056
|
}
|
|
34442
33057
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -35117,42 +33732,21 @@ function createResourceParams$5(config) {
|
|
|
35117
33732
|
return resourceParams;
|
|
35118
33733
|
}
|
|
35119
33734
|
function coerceConfig$2(config) {
|
|
35120
|
-
|
|
35121
|
-
|
|
35122
|
-
|
|
35123
|
-
|
|
35124
|
-
}
|
|
35125
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
35126
|
-
if (optionalFields !== undefined) {
|
|
35127
|
-
coercedConfig.optionalFields = optionalFields;
|
|
35128
|
-
}
|
|
35129
|
-
const recordTypeId = config.recordTypeId;
|
|
35130
|
-
if (recordTypeId !== undefined) {
|
|
35131
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
35132
|
-
}
|
|
35133
|
-
return coercedConfig;
|
|
33735
|
+
return coerceConfig$E(config, {
|
|
33736
|
+
'objectApiName': getObjectApiName$1,
|
|
33737
|
+
'optionalFields': getFieldApiNamesArray,
|
|
33738
|
+
'recordTypeId': 1,
|
|
33739
|
+
});
|
|
35134
33740
|
}
|
|
35135
33741
|
function typeCheckConfig$6(untrustedConfig) {
|
|
35136
33742
|
const config = {};
|
|
35137
|
-
|
|
35138
|
-
|
|
35139
|
-
|
|
35140
|
-
}
|
|
35141
|
-
|
|
35142
|
-
|
|
35143
|
-
|
|
35144
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
35145
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
35146
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
35147
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
35148
|
-
}
|
|
35149
|
-
}
|
|
35150
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
35151
|
-
}
|
|
35152
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
35153
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
35154
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
35155
|
-
}
|
|
33743
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
33744
|
+
objectApiName: 0 /* String */,
|
|
33745
|
+
recordTypeId: 0 /* String */,
|
|
33746
|
+
});
|
|
33747
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
33748
|
+
optionalFields: 0 /* String */,
|
|
33749
|
+
});
|
|
35156
33750
|
return config;
|
|
35157
33751
|
}
|
|
35158
33752
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -35467,19 +34061,15 @@ function createResourceParams$3(config) {
|
|
|
35467
34061
|
return resourceParams;
|
|
35468
34062
|
}
|
|
35469
34063
|
function coerceConfig$1(config) {
|
|
35470
|
-
|
|
35471
|
-
|
|
35472
|
-
|
|
35473
|
-
coercedConfig.recordId = recordId;
|
|
35474
|
-
}
|
|
35475
|
-
return coercedConfig;
|
|
34064
|
+
return coerceConfig$E(config, {
|
|
34065
|
+
'recordId': getRecordId18,
|
|
34066
|
+
});
|
|
35476
34067
|
}
|
|
35477
34068
|
function typeCheckConfig$5(untrustedConfig) {
|
|
35478
34069
|
const config = {};
|
|
35479
|
-
|
|
35480
|
-
|
|
35481
|
-
|
|
35482
|
-
}
|
|
34070
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
34071
|
+
recordId: 0 /* String */,
|
|
34072
|
+
});
|
|
35483
34073
|
return config;
|
|
35484
34074
|
}
|
|
35485
34075
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -35589,67 +34179,28 @@ function createResourceParams$2(config) {
|
|
|
35589
34179
|
return resourceParams;
|
|
35590
34180
|
}
|
|
35591
34181
|
function coerceConfig(config) {
|
|
35592
|
-
|
|
35593
|
-
|
|
35594
|
-
|
|
35595
|
-
|
|
35596
|
-
|
|
35597
|
-
|
|
35598
|
-
|
|
35599
|
-
|
|
35600
|
-
|
|
35601
|
-
|
|
35602
|
-
if (triggerUserEmail !== undefined) {
|
|
35603
|
-
coercedConfig.triggerUserEmail = triggerUserEmail;
|
|
35604
|
-
}
|
|
35605
|
-
const useDefaultRule = config.useDefaultRule;
|
|
35606
|
-
if (useDefaultRule !== undefined) {
|
|
35607
|
-
coercedConfig.useDefaultRule = useDefaultRule;
|
|
35608
|
-
}
|
|
35609
|
-
const allowSaveOnDuplicate = config.allowSaveOnDuplicate;
|
|
35610
|
-
if (allowSaveOnDuplicate !== undefined) {
|
|
35611
|
-
coercedConfig.allowSaveOnDuplicate = allowSaveOnDuplicate;
|
|
35612
|
-
}
|
|
35613
|
-
const apiName = config.apiName;
|
|
35614
|
-
if (apiName !== undefined) {
|
|
35615
|
-
coercedConfig.apiName = apiName;
|
|
35616
|
-
}
|
|
35617
|
-
const fields = config.fields;
|
|
35618
|
-
if (fields !== undefined) {
|
|
35619
|
-
coercedConfig.fields = fields;
|
|
35620
|
-
}
|
|
35621
|
-
const ifUnmodifiedSince = config.ifUnmodifiedSince;
|
|
35622
|
-
if (ifUnmodifiedSince !== undefined) {
|
|
35623
|
-
coercedConfig.ifUnmodifiedSince = ifUnmodifiedSince;
|
|
35624
|
-
}
|
|
35625
|
-
return coercedConfig;
|
|
34182
|
+
return coerceConfig$E(config, {
|
|
34183
|
+
'recordId': getRecordId18,
|
|
34184
|
+
'triggerOtherEmail': 1,
|
|
34185
|
+
'triggerUserEmail': 1,
|
|
34186
|
+
'useDefaultRule': 1,
|
|
34187
|
+
'allowSaveOnDuplicate': 1,
|
|
34188
|
+
'apiName': 1,
|
|
34189
|
+
'fields': 1,
|
|
34190
|
+
'ifUnmodifiedSince': 1,
|
|
34191
|
+
});
|
|
35626
34192
|
}
|
|
35627
34193
|
function typeCheckConfig$4(untrustedConfig) {
|
|
35628
34194
|
const config = {};
|
|
35629
|
-
|
|
35630
|
-
|
|
35631
|
-
|
|
35632
|
-
|
|
35633
|
-
|
|
35634
|
-
|
|
35635
|
-
|
|
35636
|
-
|
|
35637
|
-
|
|
35638
|
-
if (typeof untrustedConfig_triggerUserEmail === 'boolean') {
|
|
35639
|
-
config.triggerUserEmail = untrustedConfig_triggerUserEmail;
|
|
35640
|
-
}
|
|
35641
|
-
const untrustedConfig_useDefaultRule = untrustedConfig.useDefaultRule;
|
|
35642
|
-
if (typeof untrustedConfig_useDefaultRule === 'boolean') {
|
|
35643
|
-
config.useDefaultRule = untrustedConfig_useDefaultRule;
|
|
35644
|
-
}
|
|
35645
|
-
const untrustedConfig_allowSaveOnDuplicate = untrustedConfig.allowSaveOnDuplicate;
|
|
35646
|
-
if (typeof untrustedConfig_allowSaveOnDuplicate === 'boolean') {
|
|
35647
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
35648
|
-
}
|
|
35649
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
35650
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
35651
|
-
config.apiName = untrustedConfig_apiName;
|
|
35652
|
-
}
|
|
34195
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
34196
|
+
recordId: 0 /* String */,
|
|
34197
|
+
triggerOtherEmail: 1 /* Boolean */,
|
|
34198
|
+
triggerUserEmail: 1 /* Boolean */,
|
|
34199
|
+
useDefaultRule: 1 /* Boolean */,
|
|
34200
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
34201
|
+
apiName: 0 /* String */,
|
|
34202
|
+
ifUnmodifiedSince: 0 /* String */,
|
|
34203
|
+
});
|
|
35653
34204
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
35654
34205
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
35655
34206
|
const untrustedConfig_fields_object = {};
|
|
@@ -35682,10 +34233,6 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
35682
34233
|
config.fields = untrustedConfig_fields_object;
|
|
35683
34234
|
}
|
|
35684
34235
|
}
|
|
35685
|
-
const untrustedConfig_ifUnmodifiedSince = untrustedConfig.ifUnmodifiedSince;
|
|
35686
|
-
if (typeof untrustedConfig_ifUnmodifiedSince === 'string') {
|
|
35687
|
-
config.ifUnmodifiedSince = untrustedConfig_ifUnmodifiedSince;
|
|
35688
|
-
}
|
|
35689
34236
|
return config;
|
|
35690
34237
|
}
|
|
35691
34238
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -36131,14 +34678,10 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
36131
34678
|
|
|
36132
34679
|
function typeCheckConfig$3(untrustedConfig) {
|
|
36133
34680
|
const config = {};
|
|
36134
|
-
|
|
36135
|
-
|
|
36136
|
-
|
|
36137
|
-
}
|
|
36138
|
-
const untrustedConfig_title = untrustedConfig.title;
|
|
36139
|
-
if (typeof untrustedConfig_title === 'string') {
|
|
36140
|
-
config.title = untrustedConfig_title;
|
|
36141
|
-
}
|
|
34681
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
34682
|
+
description: 0 /* String */,
|
|
34683
|
+
title: 0 /* String */,
|
|
34684
|
+
});
|
|
36142
34685
|
return config;
|
|
36143
34686
|
}
|
|
36144
34687
|
|
|
@@ -36211,18 +34754,11 @@ function createDispatchResourceRequestContext$1(requestContext) {
|
|
|
36211
34754
|
|
|
36212
34755
|
function typeCheckConfig$1(untrustedConfig) {
|
|
36213
34756
|
const config = {};
|
|
36214
|
-
|
|
36215
|
-
|
|
36216
|
-
|
|
36217
|
-
|
|
36218
|
-
|
|
36219
|
-
if (typeof untrustedConfig_description === 'string') {
|
|
36220
|
-
config.description = untrustedConfig_description;
|
|
36221
|
-
}
|
|
36222
|
-
const untrustedConfig_title = untrustedConfig.title;
|
|
36223
|
-
if (typeof untrustedConfig_title === 'string') {
|
|
36224
|
-
config.title = untrustedConfig_title;
|
|
36225
|
-
}
|
|
34757
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
34758
|
+
contentDocumentId: 0 /* String */,
|
|
34759
|
+
description: 0 /* String */,
|
|
34760
|
+
title: 0 /* String */,
|
|
34761
|
+
});
|
|
36226
34762
|
return config;
|
|
36227
34763
|
}
|
|
36228
34764
|
|
|
@@ -36835,5 +35371,5 @@ withDefaultLuvio((luvio) => {
|
|
|
36835
35371
|
notifyListViewSummaryUpdateAvailable = throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory));
|
|
36836
35372
|
});
|
|
36837
35373
|
|
|
36838
|
-
export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoRepresentationType, RepresentationType$O as RecordRepresentationRepresentationType, TTL$w as RecordRepresentationTTL, RepresentationType$O as RecordRepresentationType, VERSION$17 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createRecord, deleteRecord, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$Q as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$C as ingestObjectInfo, ingest$y as ingestQuickActionExecutionRepresentation, ingest$H as ingestRecord, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$y as keyBuilderFromTypeRecordRepresentation, keyBuilder$1J as keyBuilderObjectInfo, keyBuilder$1D as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1U as keyBuilderRecord, notifyListViewSummaryUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateLayoutUserState, updateListInfoByName, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
36839
|
-
// version: 1.
|
|
35374
|
+
export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoRepresentationType, RepresentationType$O as RecordRepresentationRepresentationType, TTL$w as RecordRepresentationTTL, RepresentationType$O as RecordRepresentationType, VERSION$17 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createRecord, deleteRecord, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$Q as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$C as ingestObjectInfo, ingest$y as ingestQuickActionExecutionRepresentation, ingest$H as ingestRecord, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$y as keyBuilderFromTypeRecordRepresentation, keyBuilder$1J as keyBuilderObjectInfo, keyBuilder$1D as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1U as keyBuilderRecord, notifyListViewSummaryUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateLayoutUserState, updateListInfoByName, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
35375
|
+
// version: 1.208.0-027673bd6
|