@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { register } from '@salesforce/lds-default-luvio';
|
|
8
|
-
import { serializeStructuredKey, StoreKeyMap, StoreKeySet, deepFreeze, coerceAdapterRequestContext, Wildcard } from '@luvio/engine';
|
|
8
|
+
import { serializeStructuredKey, coerceConfig as coerceConfig$E, typeCheckScalars, typeCheckArrayOfScalars, StoreKeyMap, StoreKeySet, deepFreeze, coerceAdapterRequestContext, Wildcard } from '@luvio/engine';
|
|
9
9
|
import { print, visit, parse as parse$1 } from '@luvio/graphql-parser';
|
|
10
10
|
import { buildFieldState, createFragmentMap, serializeFieldArguments, buildQueryTypeStringKey, getOperationFromDocument } from '@luvio/graphql';
|
|
11
11
|
|
|
@@ -5173,125 +5173,33 @@ function createResourceParams$Y(config) {
|
|
|
5173
5173
|
return resourceParams;
|
|
5174
5174
|
}
|
|
5175
5175
|
function coerceConfig$D(config) {
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
coercedConfig.fields = fields;
|
|
5188
|
-
}
|
|
5189
|
-
const forms = config.forms;
|
|
5190
|
-
if (forms !== undefined) {
|
|
5191
|
-
coercedConfig.forms = forms;
|
|
5192
|
-
}
|
|
5193
|
-
const layoutTypes = toSortedStringArray(config.layoutTypes);
|
|
5194
|
-
if (layoutTypes !== undefined) {
|
|
5195
|
-
coercedConfig.layoutTypes = layoutTypes;
|
|
5196
|
-
}
|
|
5197
|
-
const modes = toSortedStringArray(config.modes);
|
|
5198
|
-
if (modes !== undefined) {
|
|
5199
|
-
coercedConfig.modes = modes;
|
|
5200
|
-
}
|
|
5201
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
5202
|
-
if (optionalFields !== undefined) {
|
|
5203
|
-
coercedConfig.optionalFields = optionalFields;
|
|
5204
|
-
}
|
|
5205
|
-
const pageSize = config.pageSize;
|
|
5206
|
-
if (pageSize !== undefined) {
|
|
5207
|
-
coercedConfig.pageSize = pageSize;
|
|
5208
|
-
}
|
|
5209
|
-
const updateMru = config.updateMru;
|
|
5210
|
-
if (updateMru !== undefined) {
|
|
5211
|
-
coercedConfig.updateMru = updateMru;
|
|
5212
|
-
}
|
|
5213
|
-
return coercedConfig;
|
|
5176
|
+
return coerceConfig$E(config, {
|
|
5177
|
+
'recordId': getRecordId18,
|
|
5178
|
+
'childRelationships': 1,
|
|
5179
|
+
'fields': getFieldApiNamesArray,
|
|
5180
|
+
'forms': 1,
|
|
5181
|
+
'layoutTypes': toSortedStringArray,
|
|
5182
|
+
'modes': toSortedStringArray,
|
|
5183
|
+
'optionalFields': getFieldApiNamesArray,
|
|
5184
|
+
'pageSize': 1,
|
|
5185
|
+
'updateMru': 1,
|
|
5186
|
+
});
|
|
5214
5187
|
}
|
|
5215
5188
|
function typeCheckConfig$12(untrustedConfig) {
|
|
5216
5189
|
const config = {};
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
config.childRelationships = untrustedConfig_childRelationships_array;
|
|
5231
|
-
}
|
|
5232
|
-
const untrustedConfig_fields = untrustedConfig.fields;
|
|
5233
|
-
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
5234
|
-
const untrustedConfig_fields_array = [];
|
|
5235
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
5236
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
5237
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
5238
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
5239
|
-
}
|
|
5240
|
-
}
|
|
5241
|
-
config.fields = untrustedConfig_fields_array;
|
|
5242
|
-
}
|
|
5243
|
-
const untrustedConfig_forms = untrustedConfig.forms;
|
|
5244
|
-
if (ArrayIsArray$1(untrustedConfig_forms)) {
|
|
5245
|
-
const untrustedConfig_forms_array = [];
|
|
5246
|
-
for (let i = 0, arrayLength = untrustedConfig_forms.length; i < arrayLength; i++) {
|
|
5247
|
-
const untrustedConfig_forms_item = untrustedConfig_forms[i];
|
|
5248
|
-
if (typeof untrustedConfig_forms_item === 'string') {
|
|
5249
|
-
untrustedConfig_forms_array.push(untrustedConfig_forms_item);
|
|
5250
|
-
}
|
|
5251
|
-
}
|
|
5252
|
-
config.forms = untrustedConfig_forms_array;
|
|
5253
|
-
}
|
|
5254
|
-
const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
|
|
5255
|
-
if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
|
|
5256
|
-
const untrustedConfig_layoutTypes_array = [];
|
|
5257
|
-
for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
|
|
5258
|
-
const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
|
|
5259
|
-
if (typeof untrustedConfig_layoutTypes_item === 'string') {
|
|
5260
|
-
untrustedConfig_layoutTypes_array.push(untrustedConfig_layoutTypes_item);
|
|
5261
|
-
}
|
|
5262
|
-
}
|
|
5263
|
-
config.layoutTypes = untrustedConfig_layoutTypes_array;
|
|
5264
|
-
}
|
|
5265
|
-
const untrustedConfig_modes = untrustedConfig.modes;
|
|
5266
|
-
if (ArrayIsArray$1(untrustedConfig_modes)) {
|
|
5267
|
-
const untrustedConfig_modes_array = [];
|
|
5268
|
-
for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
|
|
5269
|
-
const untrustedConfig_modes_item = untrustedConfig_modes[i];
|
|
5270
|
-
if (typeof untrustedConfig_modes_item === 'string') {
|
|
5271
|
-
untrustedConfig_modes_array.push(untrustedConfig_modes_item);
|
|
5272
|
-
}
|
|
5273
|
-
}
|
|
5274
|
-
config.modes = untrustedConfig_modes_array;
|
|
5275
|
-
}
|
|
5276
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
5277
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
5278
|
-
const untrustedConfig_optionalFields_array = [];
|
|
5279
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
5280
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
5281
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
5282
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
5283
|
-
}
|
|
5284
|
-
}
|
|
5285
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
5286
|
-
}
|
|
5287
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
5288
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
5289
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
5290
|
-
}
|
|
5291
|
-
const untrustedConfig_updateMru = untrustedConfig.updateMru;
|
|
5292
|
-
if (typeof untrustedConfig_updateMru === 'boolean') {
|
|
5293
|
-
config.updateMru = untrustedConfig_updateMru;
|
|
5294
|
-
}
|
|
5190
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
5191
|
+
recordId: 0 /* String */,
|
|
5192
|
+
pageSize: 3 /* Integer */,
|
|
5193
|
+
updateMru: 1 /* Boolean */,
|
|
5194
|
+
});
|
|
5195
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
5196
|
+
childRelationships: 0 /* String */,
|
|
5197
|
+
fields: 0 /* String */,
|
|
5198
|
+
forms: 0 /* String */,
|
|
5199
|
+
layoutTypes: 0 /* String */,
|
|
5200
|
+
modes: 0 /* String */,
|
|
5201
|
+
optionalFields: 0 /* String */,
|
|
5202
|
+
});
|
|
5295
5203
|
return config;
|
|
5296
5204
|
}
|
|
5297
5205
|
function validateAdapterConfig$13(untrustedConfig, configPropertyNames) {
|
|
@@ -7009,36 +6917,15 @@ function createResourceParams$W(config) {
|
|
|
7009
6917
|
return resourceParams;
|
|
7010
6918
|
}
|
|
7011
6919
|
function coerceConfig$C(config) {
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
}
|
|
7021
|
-
const fields = getFieldApiNamesArray(config.fields);
|
|
7022
|
-
if (fields !== undefined) {
|
|
7023
|
-
coercedConfig.fields = fields;
|
|
7024
|
-
}
|
|
7025
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
7026
|
-
if (optionalFields !== undefined) {
|
|
7027
|
-
coercedConfig.optionalFields = optionalFields;
|
|
7028
|
-
}
|
|
7029
|
-
const pageSize = config.pageSize;
|
|
7030
|
-
if (pageSize !== undefined) {
|
|
7031
|
-
coercedConfig.pageSize = pageSize;
|
|
7032
|
-
}
|
|
7033
|
-
const pageToken = config.pageToken;
|
|
7034
|
-
if (pageToken !== undefined) {
|
|
7035
|
-
coercedConfig.pageToken = pageToken;
|
|
7036
|
-
}
|
|
7037
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
7038
|
-
if (sortBy !== undefined) {
|
|
7039
|
-
coercedConfig.sortBy = sortBy;
|
|
7040
|
-
}
|
|
7041
|
-
return coercedConfig;
|
|
6920
|
+
return coerceConfig$E(config, {
|
|
6921
|
+
'listViewApiName': 1,
|
|
6922
|
+
'objectApiName': getObjectApiName$1,
|
|
6923
|
+
'fields': getFieldApiNamesArray,
|
|
6924
|
+
'optionalFields': getFieldApiNamesArray,
|
|
6925
|
+
'pageSize': 1,
|
|
6926
|
+
'pageToken': 1,
|
|
6927
|
+
'sortBy': getFieldApiNamesArray,
|
|
6928
|
+
});
|
|
7042
6929
|
}
|
|
7043
6930
|
function keyBuilder$2_(luvio, config) {
|
|
7044
6931
|
const resourceParams = createResourceParams$W(config);
|
|
@@ -7046,55 +6933,17 @@ function keyBuilder$2_(luvio, config) {
|
|
|
7046
6933
|
}
|
|
7047
6934
|
function typeCheckConfig$11(untrustedConfig) {
|
|
7048
6935
|
const config = {};
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
7061
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
7062
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
7063
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
7064
|
-
}
|
|
7065
|
-
}
|
|
7066
|
-
config.fields = untrustedConfig_fields_array;
|
|
7067
|
-
}
|
|
7068
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
7069
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
7070
|
-
const untrustedConfig_optionalFields_array = [];
|
|
7071
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
7072
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
7073
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
7074
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
7075
|
-
}
|
|
7076
|
-
}
|
|
7077
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
7078
|
-
}
|
|
7079
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
7080
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
7081
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
7082
|
-
}
|
|
7083
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
7084
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
7085
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
7086
|
-
}
|
|
7087
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
7088
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
7089
|
-
const untrustedConfig_sortBy_array = [];
|
|
7090
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
7091
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
7092
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
7093
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
7094
|
-
}
|
|
7095
|
-
}
|
|
7096
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
7097
|
-
}
|
|
6936
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
6937
|
+
listViewApiName: 0 /* String */,
|
|
6938
|
+
objectApiName: 0 /* String */,
|
|
6939
|
+
pageSize: 3 /* Integer */,
|
|
6940
|
+
pageToken: 0 /* String */,
|
|
6941
|
+
});
|
|
6942
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
6943
|
+
fields: 0 /* String */,
|
|
6944
|
+
optionalFields: 0 /* String */,
|
|
6945
|
+
sortBy: 0 /* String */,
|
|
6946
|
+
});
|
|
7098
6947
|
return config;
|
|
7099
6948
|
}
|
|
7100
6949
|
function validateAdapterConfig$12(untrustedConfig, configPropertyNames) {
|
|
@@ -7259,32 +7108,14 @@ function createResourceParams$V(config) {
|
|
|
7259
7108
|
return resourceParams;
|
|
7260
7109
|
}
|
|
7261
7110
|
function coerceConfig$B(config) {
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
}
|
|
7271
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
7272
|
-
if (optionalFields !== undefined) {
|
|
7273
|
-
coercedConfig.optionalFields = optionalFields;
|
|
7274
|
-
}
|
|
7275
|
-
const pageSize = config.pageSize;
|
|
7276
|
-
if (pageSize !== undefined) {
|
|
7277
|
-
coercedConfig.pageSize = pageSize;
|
|
7278
|
-
}
|
|
7279
|
-
const pageToken = config.pageToken;
|
|
7280
|
-
if (pageToken !== undefined) {
|
|
7281
|
-
coercedConfig.pageToken = pageToken;
|
|
7282
|
-
}
|
|
7283
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
7284
|
-
if (sortBy !== undefined) {
|
|
7285
|
-
coercedConfig.sortBy = sortBy;
|
|
7286
|
-
}
|
|
7287
|
-
return coercedConfig;
|
|
7111
|
+
return coerceConfig$E(config, {
|
|
7112
|
+
'listViewId': 1,
|
|
7113
|
+
'fields': getFieldApiNamesArray,
|
|
7114
|
+
'optionalFields': getFieldApiNamesArray,
|
|
7115
|
+
'pageSize': 1,
|
|
7116
|
+
'pageToken': 1,
|
|
7117
|
+
'sortBy': getFieldApiNamesArray,
|
|
7118
|
+
});
|
|
7288
7119
|
}
|
|
7289
7120
|
function keyBuilder$2Y(luvio, config) {
|
|
7290
7121
|
const resourceParams = createResourceParams$V(config);
|
|
@@ -7292,51 +7123,16 @@ function keyBuilder$2Y(luvio, config) {
|
|
|
7292
7123
|
}
|
|
7293
7124
|
function typeCheckConfig$10(untrustedConfig) {
|
|
7294
7125
|
const config = {};
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
7306
|
-
}
|
|
7307
|
-
}
|
|
7308
|
-
config.fields = untrustedConfig_fields_array;
|
|
7309
|
-
}
|
|
7310
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
7311
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
7312
|
-
const untrustedConfig_optionalFields_array = [];
|
|
7313
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
7314
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
7315
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
7316
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
7317
|
-
}
|
|
7318
|
-
}
|
|
7319
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
7320
|
-
}
|
|
7321
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
7322
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
7323
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
7324
|
-
}
|
|
7325
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
7326
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
7327
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
7328
|
-
}
|
|
7329
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
7330
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
7331
|
-
const untrustedConfig_sortBy_array = [];
|
|
7332
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
7333
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
7334
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
7335
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
7336
|
-
}
|
|
7337
|
-
}
|
|
7338
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
7339
|
-
}
|
|
7126
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
7127
|
+
listViewId: 0 /* String */,
|
|
7128
|
+
pageSize: 3 /* Integer */,
|
|
7129
|
+
pageToken: 0 /* String */,
|
|
7130
|
+
});
|
|
7131
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
7132
|
+
fields: 0 /* String */,
|
|
7133
|
+
optionalFields: 0 /* String */,
|
|
7134
|
+
sortBy: 0 /* String */,
|
|
7135
|
+
});
|
|
7340
7136
|
return config;
|
|
7341
7137
|
}
|
|
7342
7138
|
function validateAdapterConfig$11(untrustedConfig, configPropertyNames) {
|
|
@@ -8553,28 +8349,13 @@ function createResourceParams$U(config) {
|
|
|
8553
8349
|
return resourceParams;
|
|
8554
8350
|
}
|
|
8555
8351
|
function coerceConfig$A(config) {
|
|
8556
|
-
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
coercedConfig.pageSize = pageSize;
|
|
8564
|
-
}
|
|
8565
|
-
const pageToken = config.pageToken;
|
|
8566
|
-
if (pageToken !== undefined) {
|
|
8567
|
-
coercedConfig.pageToken = pageToken;
|
|
8568
|
-
}
|
|
8569
|
-
const q = config.q;
|
|
8570
|
-
if (q !== undefined) {
|
|
8571
|
-
coercedConfig.q = q;
|
|
8572
|
-
}
|
|
8573
|
-
const recentListsOnly = config.recentListsOnly;
|
|
8574
|
-
if (recentListsOnly !== undefined) {
|
|
8575
|
-
coercedConfig.recentListsOnly = recentListsOnly;
|
|
8576
|
-
}
|
|
8577
|
-
return coercedConfig;
|
|
8352
|
+
return coerceConfig$E(config, {
|
|
8353
|
+
'objectApiName': getObjectApiName$1,
|
|
8354
|
+
'pageSize': 1,
|
|
8355
|
+
'pageToken': 1,
|
|
8356
|
+
'q': 1,
|
|
8357
|
+
'recentListsOnly': 1,
|
|
8358
|
+
});
|
|
8578
8359
|
}
|
|
8579
8360
|
function keyBuilder$2T(luvio, config) {
|
|
8580
8361
|
const resourceParams = createResourceParams$U(config);
|
|
@@ -8582,26 +8363,13 @@ function keyBuilder$2T(luvio, config) {
|
|
|
8582
8363
|
}
|
|
8583
8364
|
function typeCheckConfig$$(untrustedConfig) {
|
|
8584
8365
|
const config = {};
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
}
|
|
8593
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
8594
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
8595
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
8596
|
-
}
|
|
8597
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
8598
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
8599
|
-
config.q = untrustedConfig_q;
|
|
8600
|
-
}
|
|
8601
|
-
const untrustedConfig_recentListsOnly = untrustedConfig.recentListsOnly;
|
|
8602
|
-
if (typeof untrustedConfig_recentListsOnly === 'boolean') {
|
|
8603
|
-
config.recentListsOnly = untrustedConfig_recentListsOnly;
|
|
8604
|
-
}
|
|
8366
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
8367
|
+
objectApiName: 0 /* String */,
|
|
8368
|
+
pageSize: 3 /* Integer */,
|
|
8369
|
+
pageToken: 0 /* String */,
|
|
8370
|
+
q: 0 /* String */,
|
|
8371
|
+
recentListsOnly: 1 /* Boolean */,
|
|
8372
|
+
});
|
|
8605
8373
|
return config;
|
|
8606
8374
|
}
|
|
8607
8375
|
function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
@@ -8816,80 +8584,27 @@ function createResourceParams$T(config) {
|
|
|
8816
8584
|
return resourceParams;
|
|
8817
8585
|
}
|
|
8818
8586
|
function coerceConfig$z(config) {
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
}
|
|
8828
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
8829
|
-
if (optionalFields !== undefined) {
|
|
8830
|
-
coercedConfig.optionalFields = optionalFields;
|
|
8831
|
-
}
|
|
8832
|
-
const pageSize = config.pageSize;
|
|
8833
|
-
if (pageSize !== undefined) {
|
|
8834
|
-
coercedConfig.pageSize = pageSize;
|
|
8835
|
-
}
|
|
8836
|
-
const pageToken = config.pageToken;
|
|
8837
|
-
if (pageToken !== undefined) {
|
|
8838
|
-
coercedConfig.pageToken = pageToken;
|
|
8839
|
-
}
|
|
8840
|
-
const sortBy = getFieldApiNamesArray(config.sortBy);
|
|
8841
|
-
if (sortBy !== undefined) {
|
|
8842
|
-
coercedConfig.sortBy = sortBy;
|
|
8843
|
-
}
|
|
8844
|
-
return coercedConfig;
|
|
8587
|
+
return coerceConfig$E(config, {
|
|
8588
|
+
'objectApiName': getObjectApiName$1,
|
|
8589
|
+
'fields': getFieldApiNamesArray,
|
|
8590
|
+
'optionalFields': getFieldApiNamesArray,
|
|
8591
|
+
'pageSize': 1,
|
|
8592
|
+
'pageToken': 1,
|
|
8593
|
+
'sortBy': getFieldApiNamesArray,
|
|
8594
|
+
});
|
|
8845
8595
|
}
|
|
8846
8596
|
function typeCheckConfig$_(untrustedConfig) {
|
|
8847
8597
|
const config = {};
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
8859
|
-
}
|
|
8860
|
-
}
|
|
8861
|
-
config.fields = untrustedConfig_fields_array;
|
|
8862
|
-
}
|
|
8863
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
8864
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
8865
|
-
const untrustedConfig_optionalFields_array = [];
|
|
8866
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
8867
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
8868
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
8869
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
8870
|
-
}
|
|
8871
|
-
}
|
|
8872
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
8873
|
-
}
|
|
8874
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
8875
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
8876
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
8877
|
-
}
|
|
8878
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
8879
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
8880
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
8881
|
-
}
|
|
8882
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
8883
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
8884
|
-
const untrustedConfig_sortBy_array = [];
|
|
8885
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
8886
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
8887
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
8888
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
8889
|
-
}
|
|
8890
|
-
}
|
|
8891
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
8892
|
-
}
|
|
8598
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
8599
|
+
objectApiName: 0 /* String */,
|
|
8600
|
+
pageSize: 3 /* Integer */,
|
|
8601
|
+
pageToken: 0 /* String */,
|
|
8602
|
+
});
|
|
8603
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
8604
|
+
fields: 0 /* String */,
|
|
8605
|
+
optionalFields: 0 /* String */,
|
|
8606
|
+
sortBy: 0 /* String */,
|
|
8607
|
+
});
|
|
8893
8608
|
return config;
|
|
8894
8609
|
}
|
|
8895
8610
|
function validateAdapterConfig$$(untrustedConfig, configPropertyNames) {
|
|
@@ -10673,12 +10388,9 @@ function createResourceParams$S(config) {
|
|
|
10673
10388
|
return resourceParams;
|
|
10674
10389
|
}
|
|
10675
10390
|
function coerceConfig$y(config) {
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
coercedConfig.objectApiName = objectApiName;
|
|
10680
|
-
}
|
|
10681
|
-
return coercedConfig;
|
|
10391
|
+
return coerceConfig$E(config, {
|
|
10392
|
+
'objectApiName': getObjectApiName$1,
|
|
10393
|
+
});
|
|
10682
10394
|
}
|
|
10683
10395
|
function keyBuilder$2P(luvio, config) {
|
|
10684
10396
|
const resourceParams = createResourceParams$S(config);
|
|
@@ -10686,10 +10398,9 @@ function keyBuilder$2P(luvio, config) {
|
|
|
10686
10398
|
}
|
|
10687
10399
|
function typeCheckConfig$Z(untrustedConfig) {
|
|
10688
10400
|
const config = {};
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
}
|
|
10401
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
10402
|
+
objectApiName: 0 /* String */,
|
|
10403
|
+
});
|
|
10693
10404
|
return config;
|
|
10694
10405
|
}
|
|
10695
10406
|
function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
@@ -11783,110 +11494,31 @@ function getRecordId18Array(value) {
|
|
|
11783
11494
|
}
|
|
11784
11495
|
|
|
11785
11496
|
function coerceConfig$x(config) {
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11794
|
-
|
|
11795
|
-
|
|
11796
|
-
if (formFactor !== undefined) {
|
|
11797
|
-
coercedConfig.formFactor = formFactor;
|
|
11798
|
-
}
|
|
11799
|
-
const layoutTypes = toSortedStringArray(config.layoutTypes);
|
|
11800
|
-
if (layoutTypes !== undefined) {
|
|
11801
|
-
coercedConfig.layoutTypes = layoutTypes;
|
|
11802
|
-
}
|
|
11803
|
-
const modes = toSortedStringArray(config.modes);
|
|
11804
|
-
if (modes !== undefined) {
|
|
11805
|
-
coercedConfig.modes = modes;
|
|
11806
|
-
}
|
|
11807
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
11808
|
-
if (optionalFields !== undefined) {
|
|
11809
|
-
coercedConfig.optionalFields = optionalFields;
|
|
11810
|
-
}
|
|
11811
|
-
const pageSize = config.pageSize;
|
|
11812
|
-
if (pageSize !== undefined) {
|
|
11813
|
-
coercedConfig.pageSize = pageSize;
|
|
11814
|
-
}
|
|
11815
|
-
const updateMru = config.updateMru;
|
|
11816
|
-
if (updateMru !== undefined) {
|
|
11817
|
-
coercedConfig.updateMru = updateMru;
|
|
11818
|
-
}
|
|
11819
|
-
return coercedConfig;
|
|
11497
|
+
return coerceConfig$E(config, {
|
|
11498
|
+
'recordIds': getRecordId18Array,
|
|
11499
|
+
'childRelationships': 1,
|
|
11500
|
+
'formFactor': 1,
|
|
11501
|
+
'layoutTypes': toSortedStringArray,
|
|
11502
|
+
'modes': toSortedStringArray,
|
|
11503
|
+
'optionalFields': getFieldApiNamesArray,
|
|
11504
|
+
'pageSize': 1,
|
|
11505
|
+
'updateMru': 1,
|
|
11506
|
+
});
|
|
11820
11507
|
}
|
|
11821
11508
|
function typeCheckConfig$Y(untrustedConfig) {
|
|
11822
11509
|
const config = {};
|
|
11823
|
-
|
|
11824
|
-
|
|
11825
|
-
|
|
11826
|
-
|
|
11827
|
-
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
if (ArrayIsArray$1(untrustedConfig_childRelationships)) {
|
|
11836
|
-
const untrustedConfig_childRelationships_array = [];
|
|
11837
|
-
for (let i = 0, arrayLength = untrustedConfig_childRelationships.length; i < arrayLength; i++) {
|
|
11838
|
-
const untrustedConfig_childRelationships_item = untrustedConfig_childRelationships[i];
|
|
11839
|
-
if (typeof untrustedConfig_childRelationships_item === 'string') {
|
|
11840
|
-
untrustedConfig_childRelationships_array.push(untrustedConfig_childRelationships_item);
|
|
11841
|
-
}
|
|
11842
|
-
}
|
|
11843
|
-
config.childRelationships = untrustedConfig_childRelationships_array;
|
|
11844
|
-
}
|
|
11845
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
11846
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
11847
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
11848
|
-
}
|
|
11849
|
-
const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
|
|
11850
|
-
if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
|
|
11851
|
-
const untrustedConfig_layoutTypes_array = [];
|
|
11852
|
-
for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
|
|
11853
|
-
const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
|
|
11854
|
-
if (typeof untrustedConfig_layoutTypes_item === 'string') {
|
|
11855
|
-
untrustedConfig_layoutTypes_array.push(untrustedConfig_layoutTypes_item);
|
|
11856
|
-
}
|
|
11857
|
-
}
|
|
11858
|
-
config.layoutTypes = untrustedConfig_layoutTypes_array;
|
|
11859
|
-
}
|
|
11860
|
-
const untrustedConfig_modes = untrustedConfig.modes;
|
|
11861
|
-
if (ArrayIsArray$1(untrustedConfig_modes)) {
|
|
11862
|
-
const untrustedConfig_modes_array = [];
|
|
11863
|
-
for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
|
|
11864
|
-
const untrustedConfig_modes_item = untrustedConfig_modes[i];
|
|
11865
|
-
if (typeof untrustedConfig_modes_item === 'string') {
|
|
11866
|
-
untrustedConfig_modes_array.push(untrustedConfig_modes_item);
|
|
11867
|
-
}
|
|
11868
|
-
}
|
|
11869
|
-
config.modes = untrustedConfig_modes_array;
|
|
11870
|
-
}
|
|
11871
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
11872
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
11873
|
-
const untrustedConfig_optionalFields_array = [];
|
|
11874
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
11875
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
11876
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
11877
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
11878
|
-
}
|
|
11879
|
-
}
|
|
11880
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
11881
|
-
}
|
|
11882
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
11883
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
11884
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
11885
|
-
}
|
|
11886
|
-
const untrustedConfig_updateMru = untrustedConfig.updateMru;
|
|
11887
|
-
if (typeof untrustedConfig_updateMru === 'boolean') {
|
|
11888
|
-
config.updateMru = untrustedConfig_updateMru;
|
|
11889
|
-
}
|
|
11510
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
11511
|
+
formFactor: 0 /* String */,
|
|
11512
|
+
pageSize: 3 /* Integer */,
|
|
11513
|
+
updateMru: 1 /* Boolean */,
|
|
11514
|
+
});
|
|
11515
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
11516
|
+
recordIds: 0 /* String */,
|
|
11517
|
+
childRelationships: 0 /* String */,
|
|
11518
|
+
layoutTypes: 0 /* String */,
|
|
11519
|
+
modes: 0 /* String */,
|
|
11520
|
+
optionalFields: 0 /* String */,
|
|
11521
|
+
});
|
|
11890
11522
|
return config;
|
|
11891
11523
|
}
|
|
11892
11524
|
function validateAdapterConfig$Z(untrustedConfig, configPropertyNames) {
|
|
@@ -14128,28 +13760,13 @@ function createResourceParams$R(config) {
|
|
|
14128
13760
|
return resourceParams;
|
|
14129
13761
|
}
|
|
14130
13762
|
function coerceConfig$w(config) {
|
|
14131
|
-
|
|
14132
|
-
|
|
14133
|
-
|
|
14134
|
-
|
|
14135
|
-
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
coercedConfig.apiNames = apiNames;
|
|
14139
|
-
}
|
|
14140
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
14141
|
-
if (formFactor !== undefined) {
|
|
14142
|
-
coercedConfig.formFactor = formFactor;
|
|
14143
|
-
}
|
|
14144
|
-
const retrievalMode = config.retrievalMode;
|
|
14145
|
-
if (retrievalMode !== undefined) {
|
|
14146
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
14147
|
-
}
|
|
14148
|
-
const sections = toSortedStringArray(config.sections);
|
|
14149
|
-
if (sections !== undefined) {
|
|
14150
|
-
coercedConfig.sections = sections;
|
|
14151
|
-
}
|
|
14152
|
-
return coercedConfig;
|
|
13763
|
+
return coerceConfig$E(config, {
|
|
13764
|
+
'actionTypes': 1,
|
|
13765
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
13766
|
+
'formFactor': coerceFormFactor,
|
|
13767
|
+
'retrievalMode': 1,
|
|
13768
|
+
'sections': toSortedStringArray,
|
|
13769
|
+
});
|
|
14153
13770
|
}
|
|
14154
13771
|
function keyBuilder$2H(luvio, config) {
|
|
14155
13772
|
const resourceParams = createResourceParams$R(config);
|
|
@@ -14157,47 +13774,15 @@ function keyBuilder$2H(luvio, config) {
|
|
|
14157
13774
|
}
|
|
14158
13775
|
function typeCheckConfig$X(untrustedConfig) {
|
|
14159
13776
|
const config = {};
|
|
14160
|
-
|
|
14161
|
-
|
|
14162
|
-
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
14170
|
-
}
|
|
14171
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
14172
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
14173
|
-
const untrustedConfig_apiNames_array = [];
|
|
14174
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
14175
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
14176
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
14177
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
14178
|
-
}
|
|
14179
|
-
}
|
|
14180
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
14181
|
-
}
|
|
14182
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
14183
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
14184
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
14185
|
-
}
|
|
14186
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
14187
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
14188
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
14189
|
-
}
|
|
14190
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
14191
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
14192
|
-
const untrustedConfig_sections_array = [];
|
|
14193
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
14194
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
14195
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
14196
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
14197
|
-
}
|
|
14198
|
-
}
|
|
14199
|
-
config.sections = untrustedConfig_sections_array;
|
|
14200
|
-
}
|
|
13777
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
13778
|
+
formFactor: 0 /* String */,
|
|
13779
|
+
retrievalMode: 0 /* String */,
|
|
13780
|
+
});
|
|
13781
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
13782
|
+
actionTypes: 0 /* String */,
|
|
13783
|
+
apiNames: 0 /* String */,
|
|
13784
|
+
sections: 0 /* String */,
|
|
13785
|
+
});
|
|
14201
13786
|
return config;
|
|
14202
13787
|
}
|
|
14203
13788
|
function validateAdapterConfig$Y(untrustedConfig, configPropertyNames) {
|
|
@@ -14468,10 +14053,9 @@ function keyBuilder$2E(luvio, config) {
|
|
|
14468
14053
|
}
|
|
14469
14054
|
function typeCheckConfig$W(untrustedConfig) {
|
|
14470
14055
|
const config = {};
|
|
14471
|
-
|
|
14472
|
-
|
|
14473
|
-
|
|
14474
|
-
}
|
|
14056
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
14057
|
+
actionApiName: 0 /* String */,
|
|
14058
|
+
});
|
|
14475
14059
|
return config;
|
|
14476
14060
|
}
|
|
14477
14061
|
function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
|
|
@@ -14662,24 +14246,12 @@ function createResourceParams$P(config) {
|
|
|
14662
14246
|
return resourceParams;
|
|
14663
14247
|
}
|
|
14664
14248
|
function coerceConfig$v(config) {
|
|
14665
|
-
|
|
14666
|
-
|
|
14667
|
-
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
if (actionTypes !== undefined) {
|
|
14672
|
-
coercedConfig.actionTypes = actionTypes;
|
|
14673
|
-
}
|
|
14674
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
14675
|
-
if (formFactor !== undefined) {
|
|
14676
|
-
coercedConfig.formFactor = formFactor;
|
|
14677
|
-
}
|
|
14678
|
-
const sections = toSortedStringArray(config.sections);
|
|
14679
|
-
if (sections !== undefined) {
|
|
14680
|
-
coercedConfig.sections = sections;
|
|
14681
|
-
}
|
|
14682
|
-
return coercedConfig;
|
|
14249
|
+
return coerceConfig$E(config, {
|
|
14250
|
+
'objectApiNames': getSortedObjectApiNamesArray,
|
|
14251
|
+
'actionTypes': toSortedStringArray,
|
|
14252
|
+
'formFactor': coerceFormFactor,
|
|
14253
|
+
'sections': toSortedStringArray,
|
|
14254
|
+
});
|
|
14683
14255
|
}
|
|
14684
14256
|
function keyBuilder$2C(luvio, config) {
|
|
14685
14257
|
const resourceParams = createResourceParams$P(config);
|
|
@@ -14687,43 +14259,14 @@ function keyBuilder$2C(luvio, config) {
|
|
|
14687
14259
|
}
|
|
14688
14260
|
function typeCheckConfig$V(untrustedConfig) {
|
|
14689
14261
|
const config = {};
|
|
14690
|
-
|
|
14691
|
-
|
|
14692
|
-
|
|
14693
|
-
|
|
14694
|
-
|
|
14695
|
-
|
|
14696
|
-
|
|
14697
|
-
|
|
14698
|
-
}
|
|
14699
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
14700
|
-
}
|
|
14701
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
14702
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
14703
|
-
const untrustedConfig_actionTypes_array = [];
|
|
14704
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
14705
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
14706
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
14707
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
14708
|
-
}
|
|
14709
|
-
}
|
|
14710
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
14711
|
-
}
|
|
14712
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
14713
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
14714
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
14715
|
-
}
|
|
14716
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
14717
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
14718
|
-
const untrustedConfig_sections_array = [];
|
|
14719
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
14720
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
14721
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
14722
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
14723
|
-
}
|
|
14724
|
-
}
|
|
14725
|
-
config.sections = untrustedConfig_sections_array;
|
|
14726
|
-
}
|
|
14262
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
14263
|
+
formFactor: 0 /* String */,
|
|
14264
|
+
});
|
|
14265
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
14266
|
+
objectApiNames: 0 /* String */,
|
|
14267
|
+
actionTypes: 0 /* String */,
|
|
14268
|
+
sections: 0 /* String */,
|
|
14269
|
+
});
|
|
14727
14270
|
return config;
|
|
14728
14271
|
}
|
|
14729
14272
|
function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
|
|
@@ -14883,24 +14426,12 @@ function createResourceParams$O(config) {
|
|
|
14883
14426
|
return resourceParams;
|
|
14884
14427
|
}
|
|
14885
14428
|
function coerceConfig$u(config) {
|
|
14886
|
-
|
|
14887
|
-
|
|
14888
|
-
|
|
14889
|
-
|
|
14890
|
-
|
|
14891
|
-
|
|
14892
|
-
if (actionTypes !== undefined) {
|
|
14893
|
-
coercedConfig.actionTypes = actionTypes;
|
|
14894
|
-
}
|
|
14895
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
14896
|
-
if (formFactor !== undefined) {
|
|
14897
|
-
coercedConfig.formFactor = formFactor;
|
|
14898
|
-
}
|
|
14899
|
-
const sections = toSortedStringArray(config.sections);
|
|
14900
|
-
if (sections !== undefined) {
|
|
14901
|
-
coercedConfig.sections = sections;
|
|
14902
|
-
}
|
|
14903
|
-
return coercedConfig;
|
|
14429
|
+
return coerceConfig$E(config, {
|
|
14430
|
+
'objectApiName': getObjectApiName$1,
|
|
14431
|
+
'actionTypes': 1,
|
|
14432
|
+
'formFactor': coerceFormFactor,
|
|
14433
|
+
'sections': toSortedStringArray,
|
|
14434
|
+
});
|
|
14904
14435
|
}
|
|
14905
14436
|
function keyBuilder$2A(luvio, config) {
|
|
14906
14437
|
const resourceParams = createResourceParams$O(config);
|
|
@@ -14908,36 +14439,14 @@ function keyBuilder$2A(luvio, config) {
|
|
|
14908
14439
|
}
|
|
14909
14440
|
function typeCheckConfig$U(untrustedConfig) {
|
|
14910
14441
|
const config = {};
|
|
14911
|
-
|
|
14912
|
-
|
|
14913
|
-
|
|
14914
|
-
}
|
|
14915
|
-
|
|
14916
|
-
|
|
14917
|
-
|
|
14918
|
-
|
|
14919
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
14920
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
14921
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
14922
|
-
}
|
|
14923
|
-
}
|
|
14924
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
14925
|
-
}
|
|
14926
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
14927
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
14928
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
14929
|
-
}
|
|
14930
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
14931
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
14932
|
-
const untrustedConfig_sections_array = [];
|
|
14933
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
14934
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
14935
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
14936
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
14937
|
-
}
|
|
14938
|
-
}
|
|
14939
|
-
config.sections = untrustedConfig_sections_array;
|
|
14940
|
-
}
|
|
14442
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
14443
|
+
objectApiName: 0 /* String */,
|
|
14444
|
+
formFactor: 0 /* String */,
|
|
14445
|
+
});
|
|
14446
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
14447
|
+
actionTypes: 0 /* String */,
|
|
14448
|
+
sections: 0 /* String */,
|
|
14449
|
+
});
|
|
14941
14450
|
return config;
|
|
14942
14451
|
}
|
|
14943
14452
|
function validateAdapterConfig$V(untrustedConfig, configPropertyNames) {
|
|
@@ -15163,16 +14672,10 @@ function createResourceParams$N(config) {
|
|
|
15163
14672
|
return resourceParams;
|
|
15164
14673
|
}
|
|
15165
14674
|
function coerceConfig$t(config) {
|
|
15166
|
-
|
|
15167
|
-
|
|
15168
|
-
|
|
15169
|
-
|
|
15170
|
-
}
|
|
15171
|
-
const type = config.type;
|
|
15172
|
-
if (type !== undefined) {
|
|
15173
|
-
coercedConfig.type = type;
|
|
15174
|
-
}
|
|
15175
|
-
return coercedConfig;
|
|
14675
|
+
return coerceConfig$E(config, {
|
|
14676
|
+
'objectApiName': getObjectApiName$1,
|
|
14677
|
+
'type': 1,
|
|
14678
|
+
});
|
|
15176
14679
|
}
|
|
15177
14680
|
function keyBuilder$2y(luvio, config) {
|
|
15178
14681
|
const resourceParams = createResourceParams$N(config);
|
|
@@ -15180,14 +14683,10 @@ function keyBuilder$2y(luvio, config) {
|
|
|
15180
14683
|
}
|
|
15181
14684
|
function typeCheckConfig$T(untrustedConfig) {
|
|
15182
14685
|
const config = {};
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
|
|
15186
|
-
}
|
|
15187
|
-
const untrustedConfig_type = untrustedConfig.type;
|
|
15188
|
-
if (typeof untrustedConfig_type === 'string') {
|
|
15189
|
-
config.type = untrustedConfig_type;
|
|
15190
|
-
}
|
|
14686
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
14687
|
+
objectApiName: 0 /* String */,
|
|
14688
|
+
type: 0 /* String */,
|
|
14689
|
+
});
|
|
15191
14690
|
return config;
|
|
15192
14691
|
}
|
|
15193
14692
|
function validateAdapterConfig$U(untrustedConfig, configPropertyNames) {
|
|
@@ -15601,20 +15100,11 @@ function createResourceParams$M(config) {
|
|
|
15601
15100
|
return resourceParams;
|
|
15602
15101
|
}
|
|
15603
15102
|
function coerceConfig$s(config) {
|
|
15604
|
-
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
}
|
|
15609
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
15610
|
-
if (optionalFields !== undefined) {
|
|
15611
|
-
coercedConfig.optionalFields = optionalFields;
|
|
15612
|
-
}
|
|
15613
|
-
const parentRecordId = config.parentRecordId;
|
|
15614
|
-
if (parentRecordId !== undefined) {
|
|
15615
|
-
coercedConfig.parentRecordId = parentRecordId;
|
|
15616
|
-
}
|
|
15617
|
-
return coercedConfig;
|
|
15103
|
+
return coerceConfig$E(config, {
|
|
15104
|
+
'actionApiName': getObjectApiName$1,
|
|
15105
|
+
'optionalFields': getFieldApiNamesArray,
|
|
15106
|
+
'parentRecordId': 1,
|
|
15107
|
+
});
|
|
15618
15108
|
}
|
|
15619
15109
|
function keyBuilder$2v(luvio, config) {
|
|
15620
15110
|
const resourceParams = createResourceParams$M(config);
|
|
@@ -15622,25 +15112,13 @@ function keyBuilder$2v(luvio, config) {
|
|
|
15622
15112
|
}
|
|
15623
15113
|
function typeCheckConfig$S(untrustedConfig) {
|
|
15624
15114
|
const config = {};
|
|
15625
|
-
|
|
15626
|
-
|
|
15627
|
-
|
|
15628
|
-
}
|
|
15629
|
-
|
|
15630
|
-
|
|
15631
|
-
|
|
15632
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
15633
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
15634
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
15635
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
15636
|
-
}
|
|
15637
|
-
}
|
|
15638
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
15639
|
-
}
|
|
15640
|
-
const untrustedConfig_parentRecordId = untrustedConfig.parentRecordId;
|
|
15641
|
-
if (typeof untrustedConfig_parentRecordId === 'string') {
|
|
15642
|
-
config.parentRecordId = untrustedConfig_parentRecordId;
|
|
15643
|
-
}
|
|
15115
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
15116
|
+
actionApiName: 0 /* String */,
|
|
15117
|
+
parentRecordId: 0 /* String */,
|
|
15118
|
+
});
|
|
15119
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
15120
|
+
optionalFields: 0 /* String */,
|
|
15121
|
+
});
|
|
15644
15122
|
return config;
|
|
15645
15123
|
}
|
|
15646
15124
|
function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
|
|
@@ -15790,32 +15268,14 @@ function createResourceParams$L(config) {
|
|
|
15790
15268
|
return resourceParams;
|
|
15791
15269
|
}
|
|
15792
15270
|
function coerceConfig$r(config) {
|
|
15793
|
-
|
|
15794
|
-
|
|
15795
|
-
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
|
|
15799
|
-
|
|
15800
|
-
|
|
15801
|
-
}
|
|
15802
|
-
const apiNames = toSortedStringArrayAllowEmpty(config.apiNames);
|
|
15803
|
-
if (apiNames !== undefined) {
|
|
15804
|
-
coercedConfig.apiNames = apiNames;
|
|
15805
|
-
}
|
|
15806
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
15807
|
-
if (formFactor !== undefined) {
|
|
15808
|
-
coercedConfig.formFactor = formFactor;
|
|
15809
|
-
}
|
|
15810
|
-
const retrievalMode = config.retrievalMode;
|
|
15811
|
-
if (retrievalMode !== undefined) {
|
|
15812
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
15813
|
-
}
|
|
15814
|
-
const sections = toSortedStringArray(config.sections);
|
|
15815
|
-
if (sections !== undefined) {
|
|
15816
|
-
coercedConfig.sections = sections;
|
|
15817
|
-
}
|
|
15818
|
-
return coercedConfig;
|
|
15271
|
+
return coerceConfig$E(config, {
|
|
15272
|
+
'recordIds': getRecordId18Array,
|
|
15273
|
+
'actionTypes': 1,
|
|
15274
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
15275
|
+
'formFactor': coerceFormFactor,
|
|
15276
|
+
'retrievalMode': 1,
|
|
15277
|
+
'sections': toSortedStringArray,
|
|
15278
|
+
});
|
|
15819
15279
|
}
|
|
15820
15280
|
function keyBuilder$2t(luvio, config) {
|
|
15821
15281
|
const resourceParams = createResourceParams$L(config);
|
|
@@ -15823,58 +15283,16 @@ function keyBuilder$2t(luvio, config) {
|
|
|
15823
15283
|
}
|
|
15824
15284
|
function typeCheckConfig$R(untrustedConfig) {
|
|
15825
15285
|
const config = {};
|
|
15826
|
-
|
|
15827
|
-
|
|
15828
|
-
|
|
15829
|
-
|
|
15830
|
-
|
|
15831
|
-
|
|
15832
|
-
|
|
15833
|
-
|
|
15834
|
-
|
|
15835
|
-
|
|
15836
|
-
}
|
|
15837
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
15838
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
15839
|
-
const untrustedConfig_actionTypes_array = [];
|
|
15840
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
15841
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
15842
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
15843
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
15844
|
-
}
|
|
15845
|
-
}
|
|
15846
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
15847
|
-
}
|
|
15848
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
15849
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
15850
|
-
const untrustedConfig_apiNames_array = [];
|
|
15851
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
15852
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
15853
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
15854
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
15855
|
-
}
|
|
15856
|
-
}
|
|
15857
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
15858
|
-
}
|
|
15859
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
15860
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
15861
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
15862
|
-
}
|
|
15863
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
15864
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
15865
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
15866
|
-
}
|
|
15867
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
15868
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
15869
|
-
const untrustedConfig_sections_array = [];
|
|
15870
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
15871
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
15872
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
15873
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
15874
|
-
}
|
|
15875
|
-
}
|
|
15876
|
-
config.sections = untrustedConfig_sections_array;
|
|
15877
|
-
}
|
|
15286
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
15287
|
+
formFactor: 0 /* String */,
|
|
15288
|
+
retrievalMode: 0 /* String */,
|
|
15289
|
+
});
|
|
15290
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
15291
|
+
recordIds: 0 /* String */,
|
|
15292
|
+
actionTypes: 0 /* String */,
|
|
15293
|
+
apiNames: 0 /* String */,
|
|
15294
|
+
sections: 0 /* String */,
|
|
15295
|
+
});
|
|
15878
15296
|
return config;
|
|
15879
15297
|
}
|
|
15880
15298
|
function validateAdapterConfig$S(untrustedConfig, configPropertyNames) {
|
|
@@ -16038,24 +15456,12 @@ function createResourceParams$K(config) {
|
|
|
16038
15456
|
return resourceParams;
|
|
16039
15457
|
}
|
|
16040
15458
|
function coerceConfig$q(config) {
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
if (actionTypes !== undefined) {
|
|
16048
|
-
coercedConfig.actionTypes = actionTypes;
|
|
16049
|
-
}
|
|
16050
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
16051
|
-
if (formFactor !== undefined) {
|
|
16052
|
-
coercedConfig.formFactor = formFactor;
|
|
16053
|
-
}
|
|
16054
|
-
const sections = toSortedStringArray(config.sections);
|
|
16055
|
-
if (sections !== undefined) {
|
|
16056
|
-
coercedConfig.sections = sections;
|
|
16057
|
-
}
|
|
16058
|
-
return coercedConfig;
|
|
15459
|
+
return coerceConfig$E(config, {
|
|
15460
|
+
'recordIds': getRecordId18Array,
|
|
15461
|
+
'actionTypes': 1,
|
|
15462
|
+
'formFactor': coerceFormFactor,
|
|
15463
|
+
'sections': toSortedStringArray,
|
|
15464
|
+
});
|
|
16059
15465
|
}
|
|
16060
15466
|
function keyBuilder$2r(luvio, config) {
|
|
16061
15467
|
const resourceParams = createResourceParams$K(config);
|
|
@@ -16063,43 +15469,14 @@ function keyBuilder$2r(luvio, config) {
|
|
|
16063
15469
|
}
|
|
16064
15470
|
function typeCheckConfig$Q(untrustedConfig) {
|
|
16065
15471
|
const config = {};
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
}
|
|
16075
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
16076
|
-
}
|
|
16077
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
16078
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
16079
|
-
const untrustedConfig_actionTypes_array = [];
|
|
16080
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
16081
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
16082
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
16083
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
16084
|
-
}
|
|
16085
|
-
}
|
|
16086
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
16087
|
-
}
|
|
16088
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
16089
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
16090
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
16091
|
-
}
|
|
16092
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
16093
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
16094
|
-
const untrustedConfig_sections_array = [];
|
|
16095
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
16096
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
16097
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
16098
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
16099
|
-
}
|
|
16100
|
-
}
|
|
16101
|
-
config.sections = untrustedConfig_sections_array;
|
|
16102
|
-
}
|
|
15472
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
15473
|
+
formFactor: 0 /* String */,
|
|
15474
|
+
});
|
|
15475
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
15476
|
+
recordIds: 0 /* String */,
|
|
15477
|
+
actionTypes: 0 /* String */,
|
|
15478
|
+
sections: 0 /* String */,
|
|
15479
|
+
});
|
|
16103
15480
|
return config;
|
|
16104
15481
|
}
|
|
16105
15482
|
function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
@@ -16560,16 +15937,10 @@ function createResourceParams$J(config) {
|
|
|
16560
15937
|
return resourceParams;
|
|
16561
15938
|
}
|
|
16562
15939
|
function coerceConfig$p(config) {
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
|
|
16566
|
-
|
|
16567
|
-
}
|
|
16568
|
-
const relatedListsActionParameters = config.relatedListsActionParameters;
|
|
16569
|
-
if (relatedListsActionParameters !== undefined) {
|
|
16570
|
-
coercedConfig.relatedListsActionParameters = relatedListsActionParameters;
|
|
16571
|
-
}
|
|
16572
|
-
return coercedConfig;
|
|
15940
|
+
return coerceConfig$E(config, {
|
|
15941
|
+
'recordIds': getRecordId18Array,
|
|
15942
|
+
'relatedListsActionParameters': 1,
|
|
15943
|
+
});
|
|
16573
15944
|
}
|
|
16574
15945
|
function keyBuilder$2o(luvio, config) {
|
|
16575
15946
|
const resourceParams = createResourceParams$J(config);
|
|
@@ -16577,17 +15948,9 @@ function keyBuilder$2o(luvio, config) {
|
|
|
16577
15948
|
}
|
|
16578
15949
|
function typeCheckConfig$P(untrustedConfig) {
|
|
16579
15950
|
const config = {};
|
|
16580
|
-
|
|
16581
|
-
|
|
16582
|
-
|
|
16583
|
-
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
16584
|
-
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
16585
|
-
if (typeof untrustedConfig_recordIds_item === 'string') {
|
|
16586
|
-
untrustedConfig_recordIds_array.push(untrustedConfig_recordIds_item);
|
|
16587
|
-
}
|
|
16588
|
-
}
|
|
16589
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
16590
|
-
}
|
|
15951
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
15952
|
+
recordIds: 0 /* String */,
|
|
15953
|
+
});
|
|
16591
15954
|
const untrustedConfig_relatedListsActionParameters = untrustedConfig.relatedListsActionParameters;
|
|
16592
15955
|
if (ArrayIsArray$1(untrustedConfig_relatedListsActionParameters)) {
|
|
16593
15956
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
@@ -16717,36 +16080,15 @@ function createResourceParams$I(config) {
|
|
|
16717
16080
|
return resourceParams;
|
|
16718
16081
|
}
|
|
16719
16082
|
function coerceConfig$o(config) {
|
|
16720
|
-
|
|
16721
|
-
|
|
16722
|
-
|
|
16723
|
-
|
|
16724
|
-
|
|
16725
|
-
|
|
16726
|
-
|
|
16727
|
-
|
|
16728
|
-
}
|
|
16729
|
-
const actionTypes = config.actionTypes;
|
|
16730
|
-
if (actionTypes !== undefined) {
|
|
16731
|
-
coercedConfig.actionTypes = actionTypes;
|
|
16732
|
-
}
|
|
16733
|
-
const apiNames = toSortedStringArrayAllowEmpty(config.apiNames);
|
|
16734
|
-
if (apiNames !== undefined) {
|
|
16735
|
-
coercedConfig.apiNames = apiNames;
|
|
16736
|
-
}
|
|
16737
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
16738
|
-
if (formFactor !== undefined) {
|
|
16739
|
-
coercedConfig.formFactor = formFactor;
|
|
16740
|
-
}
|
|
16741
|
-
const retrievalMode = config.retrievalMode;
|
|
16742
|
-
if (retrievalMode !== undefined) {
|
|
16743
|
-
coercedConfig.retrievalMode = retrievalMode;
|
|
16744
|
-
}
|
|
16745
|
-
const sections = toSortedStringArray(config.sections);
|
|
16746
|
-
if (sections !== undefined) {
|
|
16747
|
-
coercedConfig.sections = sections;
|
|
16748
|
-
}
|
|
16749
|
-
return coercedConfig;
|
|
16083
|
+
return coerceConfig$E(config, {
|
|
16084
|
+
'recordIds': getRecordId18Array,
|
|
16085
|
+
'relatedListId': 1,
|
|
16086
|
+
'actionTypes': 1,
|
|
16087
|
+
'apiNames': toSortedStringArrayAllowEmpty,
|
|
16088
|
+
'formFactor': coerceFormFactor,
|
|
16089
|
+
'retrievalMode': 1,
|
|
16090
|
+
'sections': toSortedStringArray,
|
|
16091
|
+
});
|
|
16750
16092
|
}
|
|
16751
16093
|
function keyBuilder$2n(luvio, config) {
|
|
16752
16094
|
const resourceParams = createResourceParams$I(config);
|
|
@@ -16754,62 +16096,17 @@ function keyBuilder$2n(luvio, config) {
|
|
|
16754
16096
|
}
|
|
16755
16097
|
function typeCheckConfig$O(untrustedConfig) {
|
|
16756
16098
|
const config = {};
|
|
16757
|
-
|
|
16758
|
-
|
|
16759
|
-
|
|
16760
|
-
|
|
16761
|
-
|
|
16762
|
-
|
|
16763
|
-
|
|
16764
|
-
|
|
16765
|
-
|
|
16766
|
-
|
|
16767
|
-
}
|
|
16768
|
-
const untrustedConfig_relatedListId = untrustedConfig.relatedListId;
|
|
16769
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
16770
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
16771
|
-
}
|
|
16772
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
16773
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
16774
|
-
const untrustedConfig_actionTypes_array = [];
|
|
16775
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
16776
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
16777
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
16778
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
16779
|
-
}
|
|
16780
|
-
}
|
|
16781
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
16782
|
-
}
|
|
16783
|
-
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
16784
|
-
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
16785
|
-
const untrustedConfig_apiNames_array = [];
|
|
16786
|
-
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
16787
|
-
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
16788
|
-
if (typeof untrustedConfig_apiNames_item === 'string') {
|
|
16789
|
-
untrustedConfig_apiNames_array.push(untrustedConfig_apiNames_item);
|
|
16790
|
-
}
|
|
16791
|
-
}
|
|
16792
|
-
config.apiNames = untrustedConfig_apiNames_array;
|
|
16793
|
-
}
|
|
16794
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
16795
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
16796
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
16797
|
-
}
|
|
16798
|
-
const untrustedConfig_retrievalMode = untrustedConfig.retrievalMode;
|
|
16799
|
-
if (typeof untrustedConfig_retrievalMode === 'string') {
|
|
16800
|
-
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
16801
|
-
}
|
|
16802
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
16803
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
16804
|
-
const untrustedConfig_sections_array = [];
|
|
16805
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
16806
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
16807
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
16808
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
16809
|
-
}
|
|
16810
|
-
}
|
|
16811
|
-
config.sections = untrustedConfig_sections_array;
|
|
16812
|
-
}
|
|
16099
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
16100
|
+
relatedListId: 0 /* String */,
|
|
16101
|
+
formFactor: 0 /* String */,
|
|
16102
|
+
retrievalMode: 0 /* String */,
|
|
16103
|
+
});
|
|
16104
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
16105
|
+
recordIds: 0 /* String */,
|
|
16106
|
+
actionTypes: 0 /* String */,
|
|
16107
|
+
apiNames: 0 /* String */,
|
|
16108
|
+
sections: 0 /* String */,
|
|
16109
|
+
});
|
|
16813
16110
|
return config;
|
|
16814
16111
|
}
|
|
16815
16112
|
function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
|
|
@@ -16969,28 +16266,13 @@ function createResourceParams$H(config) {
|
|
|
16969
16266
|
return resourceParams;
|
|
16970
16267
|
}
|
|
16971
16268
|
function coerceConfig$n(config) {
|
|
16972
|
-
|
|
16973
|
-
|
|
16974
|
-
|
|
16975
|
-
|
|
16976
|
-
|
|
16977
|
-
|
|
16978
|
-
|
|
16979
|
-
coercedConfig.relatedListRecordIds = relatedListRecordIds;
|
|
16980
|
-
}
|
|
16981
|
-
const actionTypes = toSortedStringArray(config.actionTypes);
|
|
16982
|
-
if (actionTypes !== undefined) {
|
|
16983
|
-
coercedConfig.actionTypes = actionTypes;
|
|
16984
|
-
}
|
|
16985
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
16986
|
-
if (formFactor !== undefined) {
|
|
16987
|
-
coercedConfig.formFactor = formFactor;
|
|
16988
|
-
}
|
|
16989
|
-
const sections = toSortedStringArray(config.sections);
|
|
16990
|
-
if (sections !== undefined) {
|
|
16991
|
-
coercedConfig.sections = sections;
|
|
16992
|
-
}
|
|
16993
|
-
return coercedConfig;
|
|
16269
|
+
return coerceConfig$E(config, {
|
|
16270
|
+
'recordIds': getRecordId18Array,
|
|
16271
|
+
'relatedListRecordIds': getRecordId18Array,
|
|
16272
|
+
'actionTypes': toSortedStringArray,
|
|
16273
|
+
'formFactor': coerceFormFactor,
|
|
16274
|
+
'sections': toSortedStringArray,
|
|
16275
|
+
});
|
|
16994
16276
|
}
|
|
16995
16277
|
function keyBuilder$2l(luvio, config) {
|
|
16996
16278
|
const resourceParams = createResourceParams$H(config);
|
|
@@ -16998,54 +16280,15 @@ function keyBuilder$2l(luvio, config) {
|
|
|
16998
16280
|
}
|
|
16999
16281
|
function typeCheckConfig$N(untrustedConfig) {
|
|
17000
16282
|
const config = {};
|
|
17001
|
-
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
17006
|
-
|
|
17007
|
-
|
|
17008
|
-
|
|
17009
|
-
|
|
17010
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
17011
|
-
}
|
|
17012
|
-
const untrustedConfig_relatedListRecordIds = untrustedConfig.relatedListRecordIds;
|
|
17013
|
-
if (ArrayIsArray$1(untrustedConfig_relatedListRecordIds)) {
|
|
17014
|
-
const untrustedConfig_relatedListRecordIds_array = [];
|
|
17015
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListRecordIds.length; i < arrayLength; i++) {
|
|
17016
|
-
const untrustedConfig_relatedListRecordIds_item = untrustedConfig_relatedListRecordIds[i];
|
|
17017
|
-
if (typeof untrustedConfig_relatedListRecordIds_item === 'string') {
|
|
17018
|
-
untrustedConfig_relatedListRecordIds_array.push(untrustedConfig_relatedListRecordIds_item);
|
|
17019
|
-
}
|
|
17020
|
-
}
|
|
17021
|
-
config.relatedListRecordIds = untrustedConfig_relatedListRecordIds_array;
|
|
17022
|
-
}
|
|
17023
|
-
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
17024
|
-
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
17025
|
-
const untrustedConfig_actionTypes_array = [];
|
|
17026
|
-
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
17027
|
-
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
17028
|
-
if (typeof untrustedConfig_actionTypes_item === 'string') {
|
|
17029
|
-
untrustedConfig_actionTypes_array.push(untrustedConfig_actionTypes_item);
|
|
17030
|
-
}
|
|
17031
|
-
}
|
|
17032
|
-
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
17033
|
-
}
|
|
17034
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
17035
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
17036
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
17037
|
-
}
|
|
17038
|
-
const untrustedConfig_sections = untrustedConfig.sections;
|
|
17039
|
-
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
17040
|
-
const untrustedConfig_sections_array = [];
|
|
17041
|
-
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
17042
|
-
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
17043
|
-
if (typeof untrustedConfig_sections_item === 'string') {
|
|
17044
|
-
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
17045
|
-
}
|
|
17046
|
-
}
|
|
17047
|
-
config.sections = untrustedConfig_sections_array;
|
|
17048
|
-
}
|
|
16283
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
16284
|
+
formFactor: 0 /* String */,
|
|
16285
|
+
});
|
|
16286
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
16287
|
+
recordIds: 0 /* String */,
|
|
16288
|
+
relatedListRecordIds: 0 /* String */,
|
|
16289
|
+
actionTypes: 0 /* String */,
|
|
16290
|
+
sections: 0 /* String */,
|
|
16291
|
+
});
|
|
17049
16292
|
return config;
|
|
17050
16293
|
}
|
|
17051
16294
|
function validateAdapterConfig$O(untrustedConfig, configPropertyNames) {
|
|
@@ -18353,16 +17596,10 @@ function createResourceParams$G(config) {
|
|
|
18353
17596
|
return resourceParams;
|
|
18354
17597
|
}
|
|
18355
17598
|
function coerceConfig$m(config) {
|
|
18356
|
-
|
|
18357
|
-
|
|
18358
|
-
|
|
18359
|
-
|
|
18360
|
-
}
|
|
18361
|
-
const userCustomizations = config.userCustomizations;
|
|
18362
|
-
if (userCustomizations !== undefined) {
|
|
18363
|
-
coercedConfig.userCustomizations = userCustomizations;
|
|
18364
|
-
}
|
|
18365
|
-
return coercedConfig;
|
|
17599
|
+
return coerceConfig$E(config, {
|
|
17600
|
+
'formFactor': coerceFormFactor,
|
|
17601
|
+
'userCustomizations': 1,
|
|
17602
|
+
});
|
|
18366
17603
|
}
|
|
18367
17604
|
function keyBuilder$2h(luvio, config) {
|
|
18368
17605
|
const resourceParams = createResourceParams$G(config);
|
|
@@ -18370,14 +17607,10 @@ function keyBuilder$2h(luvio, config) {
|
|
|
18370
17607
|
}
|
|
18371
17608
|
function typeCheckConfig$M(untrustedConfig) {
|
|
18372
17609
|
const config = {};
|
|
18373
|
-
|
|
18374
|
-
|
|
18375
|
-
|
|
18376
|
-
}
|
|
18377
|
-
const untrustedConfig_userCustomizations = untrustedConfig.userCustomizations;
|
|
18378
|
-
if (typeof untrustedConfig_userCustomizations === 'boolean') {
|
|
18379
|
-
config.userCustomizations = untrustedConfig_userCustomizations;
|
|
18380
|
-
}
|
|
17610
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
17611
|
+
formFactor: 0 /* String */,
|
|
17612
|
+
userCustomizations: 1 /* Boolean */,
|
|
17613
|
+
});
|
|
18381
17614
|
return config;
|
|
18382
17615
|
}
|
|
18383
17616
|
function validateAdapterConfig$N(untrustedConfig, configPropertyNames) {
|
|
@@ -18539,14 +17772,10 @@ function keyBuilder$2f(luvio, config) {
|
|
|
18539
17772
|
}
|
|
18540
17773
|
function typeCheckConfig$L(untrustedConfig) {
|
|
18541
17774
|
const config = {};
|
|
18542
|
-
|
|
18543
|
-
|
|
18544
|
-
|
|
18545
|
-
}
|
|
18546
|
-
const untrustedConfig_userCustomizations = untrustedConfig.userCustomizations;
|
|
18547
|
-
if (typeof untrustedConfig_userCustomizations === 'boolean') {
|
|
18548
|
-
config.userCustomizations = untrustedConfig_userCustomizations;
|
|
18549
|
-
}
|
|
17775
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
17776
|
+
formFactor: 0 /* String */,
|
|
17777
|
+
userCustomizations: 1 /* Boolean */,
|
|
17778
|
+
});
|
|
18550
17779
|
return config;
|
|
18551
17780
|
}
|
|
18552
17781
|
function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
@@ -18707,20 +17936,11 @@ function createResourceParams$E(config) {
|
|
|
18707
17936
|
return resourceParams;
|
|
18708
17937
|
}
|
|
18709
17938
|
function coerceConfig$l(config) {
|
|
18710
|
-
|
|
18711
|
-
|
|
18712
|
-
|
|
18713
|
-
|
|
18714
|
-
}
|
|
18715
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
18716
|
-
if (formFactor !== undefined) {
|
|
18717
|
-
coercedConfig.formFactor = formFactor;
|
|
18718
|
-
}
|
|
18719
|
-
const userCustomizations = config.userCustomizations;
|
|
18720
|
-
if (userCustomizations !== undefined) {
|
|
18721
|
-
coercedConfig.userCustomizations = userCustomizations;
|
|
18722
|
-
}
|
|
18723
|
-
return coercedConfig;
|
|
17939
|
+
return coerceConfig$E(config, {
|
|
17940
|
+
'appId': 1,
|
|
17941
|
+
'formFactor': coerceFormFactor,
|
|
17942
|
+
'userCustomizations': 1,
|
|
17943
|
+
});
|
|
18724
17944
|
}
|
|
18725
17945
|
function keyBuilder$2d(luvio, config) {
|
|
18726
17946
|
const resourceParams = createResourceParams$E(config);
|
|
@@ -18728,18 +17948,11 @@ function keyBuilder$2d(luvio, config) {
|
|
|
18728
17948
|
}
|
|
18729
17949
|
function typeCheckConfig$K(untrustedConfig) {
|
|
18730
17950
|
const config = {};
|
|
18731
|
-
|
|
18732
|
-
|
|
18733
|
-
|
|
18734
|
-
|
|
18735
|
-
|
|
18736
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
18737
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
18738
|
-
}
|
|
18739
|
-
const untrustedConfig_userCustomizations = untrustedConfig.userCustomizations;
|
|
18740
|
-
if (typeof untrustedConfig_userCustomizations === 'boolean') {
|
|
18741
|
-
config.userCustomizations = untrustedConfig_userCustomizations;
|
|
18742
|
-
}
|
|
17951
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
17952
|
+
appId: 0 /* String */,
|
|
17953
|
+
formFactor: 0 /* String */,
|
|
17954
|
+
userCustomizations: 1 /* Boolean */,
|
|
17955
|
+
});
|
|
18743
17956
|
return config;
|
|
18744
17957
|
}
|
|
18745
17958
|
function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
@@ -19384,14 +18597,10 @@ function keyBuilder$2b(luvio, config) {
|
|
|
19384
18597
|
}
|
|
19385
18598
|
function typeCheckConfig$J(untrustedConfig) {
|
|
19386
18599
|
const config = {};
|
|
19387
|
-
|
|
19388
|
-
|
|
19389
|
-
|
|
19390
|
-
}
|
|
19391
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
19392
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
19393
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
19394
|
-
}
|
|
18600
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
18601
|
+
objectApiName: 0 /* String */,
|
|
18602
|
+
recordTypeId: 0 /* String */,
|
|
18603
|
+
});
|
|
19395
18604
|
return config;
|
|
19396
18605
|
}
|
|
19397
18606
|
function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
@@ -19604,51 +18813,23 @@ function createResourceParams$C(config) {
|
|
|
19604
18813
|
return resourceParams;
|
|
19605
18814
|
}
|
|
19606
18815
|
function coerceConfig$k(config) {
|
|
19607
|
-
|
|
19608
|
-
|
|
19609
|
-
|
|
19610
|
-
|
|
19611
|
-
|
|
19612
|
-
|
|
19613
|
-
|
|
19614
|
-
coercedConfig.formFactor = formFactor;
|
|
19615
|
-
}
|
|
19616
|
-
const layoutType = coerceLayoutType(config.layoutType);
|
|
19617
|
-
if (layoutType !== undefined) {
|
|
19618
|
-
coercedConfig.layoutType = layoutType;
|
|
19619
|
-
}
|
|
19620
|
-
const mode = coerceLayoutMode(config.mode);
|
|
19621
|
-
if (mode !== undefined) {
|
|
19622
|
-
coercedConfig.mode = mode;
|
|
19623
|
-
}
|
|
19624
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
19625
|
-
if (recordTypeId !== undefined) {
|
|
19626
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
19627
|
-
}
|
|
19628
|
-
return coercedConfig;
|
|
18816
|
+
return coerceConfig$E(config, {
|
|
18817
|
+
'objectApiName': getObjectApiName$1,
|
|
18818
|
+
'formFactor': 1,
|
|
18819
|
+
'layoutType': coerceLayoutType,
|
|
18820
|
+
'mode': coerceLayoutMode,
|
|
18821
|
+
'recordTypeId': getRecordId18,
|
|
18822
|
+
});
|
|
19629
18823
|
}
|
|
19630
18824
|
function typeCheckConfig$I(untrustedConfig) {
|
|
19631
18825
|
const config = {};
|
|
19632
|
-
|
|
19633
|
-
|
|
19634
|
-
|
|
19635
|
-
|
|
19636
|
-
|
|
19637
|
-
|
|
19638
|
-
|
|
19639
|
-
}
|
|
19640
|
-
const untrustedConfig_layoutType = untrustedConfig.layoutType;
|
|
19641
|
-
if (typeof untrustedConfig_layoutType === 'string') {
|
|
19642
|
-
config.layoutType = untrustedConfig_layoutType;
|
|
19643
|
-
}
|
|
19644
|
-
const untrustedConfig_mode = untrustedConfig.mode;
|
|
19645
|
-
if (typeof untrustedConfig_mode === 'string') {
|
|
19646
|
-
config.mode = untrustedConfig_mode;
|
|
19647
|
-
}
|
|
19648
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
19649
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
19650
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
19651
|
-
}
|
|
18826
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
18827
|
+
objectApiName: 0 /* String */,
|
|
18828
|
+
formFactor: 0 /* String */,
|
|
18829
|
+
layoutType: 0 /* String */,
|
|
18830
|
+
mode: 0 /* String */,
|
|
18831
|
+
recordTypeId: 0 /* String */,
|
|
18832
|
+
});
|
|
19652
18833
|
return config;
|
|
19653
18834
|
}
|
|
19654
18835
|
function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
@@ -19868,51 +19049,23 @@ function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
|
19868
19049
|
}
|
|
19869
19050
|
|
|
19870
19051
|
function coerceConfig$j(config) {
|
|
19871
|
-
|
|
19872
|
-
|
|
19873
|
-
|
|
19874
|
-
|
|
19875
|
-
|
|
19876
|
-
|
|
19877
|
-
|
|
19878
|
-
coercedConfig.formFactor = formFactor;
|
|
19879
|
-
}
|
|
19880
|
-
const layoutType = coerceLayoutType(config.layoutType);
|
|
19881
|
-
if (layoutType !== undefined) {
|
|
19882
|
-
coercedConfig.layoutType = layoutType;
|
|
19883
|
-
}
|
|
19884
|
-
const mode = coerceLayoutMode(config.mode);
|
|
19885
|
-
if (mode !== undefined) {
|
|
19886
|
-
coercedConfig.mode = mode;
|
|
19887
|
-
}
|
|
19888
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
19889
|
-
if (recordTypeId !== undefined) {
|
|
19890
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
19891
|
-
}
|
|
19892
|
-
return coercedConfig;
|
|
19052
|
+
return coerceConfig$E(config, {
|
|
19053
|
+
'objectApiName': getObjectApiName$1,
|
|
19054
|
+
'formFactor': 1,
|
|
19055
|
+
'layoutType': coerceLayoutType,
|
|
19056
|
+
'mode': coerceLayoutMode,
|
|
19057
|
+
'recordTypeId': getRecordId18,
|
|
19058
|
+
});
|
|
19893
19059
|
}
|
|
19894
19060
|
function typeCheckConfig$H(untrustedConfig) {
|
|
19895
19061
|
const config = {};
|
|
19896
|
-
|
|
19897
|
-
|
|
19898
|
-
|
|
19899
|
-
|
|
19900
|
-
|
|
19901
|
-
|
|
19902
|
-
|
|
19903
|
-
}
|
|
19904
|
-
const untrustedConfig_layoutType = untrustedConfig.layoutType;
|
|
19905
|
-
if (typeof untrustedConfig_layoutType === 'string') {
|
|
19906
|
-
config.layoutType = untrustedConfig_layoutType;
|
|
19907
|
-
}
|
|
19908
|
-
const untrustedConfig_mode = untrustedConfig.mode;
|
|
19909
|
-
if (typeof untrustedConfig_mode === 'string') {
|
|
19910
|
-
config.mode = untrustedConfig_mode;
|
|
19911
|
-
}
|
|
19912
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
19913
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
19914
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
19915
|
-
}
|
|
19062
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
19063
|
+
objectApiName: 0 /* String */,
|
|
19064
|
+
formFactor: 0 /* String */,
|
|
19065
|
+
layoutType: 0 /* String */,
|
|
19066
|
+
mode: 0 /* String */,
|
|
19067
|
+
recordTypeId: 0 /* String */,
|
|
19068
|
+
});
|
|
19916
19069
|
return config;
|
|
19917
19070
|
}
|
|
19918
19071
|
function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
@@ -20336,28 +19489,10 @@ function keyBuilder$26(luvio, config) {
|
|
|
20336
19489
|
}
|
|
20337
19490
|
function typeCheckConfig$G(untrustedConfig) {
|
|
20338
19491
|
const config = {};
|
|
20339
|
-
|
|
20340
|
-
|
|
20341
|
-
|
|
20342
|
-
|
|
20343
|
-
const untrustedConfig_ids_item = untrustedConfig_ids[i];
|
|
20344
|
-
if (typeof untrustedConfig_ids_item === 'string') {
|
|
20345
|
-
untrustedConfig_ids_array.push(untrustedConfig_ids_item);
|
|
20346
|
-
}
|
|
20347
|
-
}
|
|
20348
|
-
config.ids = untrustedConfig_ids_array;
|
|
20349
|
-
}
|
|
20350
|
-
const untrustedConfig_names = untrustedConfig.names;
|
|
20351
|
-
if (ArrayIsArray$1(untrustedConfig_names)) {
|
|
20352
|
-
const untrustedConfig_names_array = [];
|
|
20353
|
-
for (let i = 0, arrayLength = untrustedConfig_names.length; i < arrayLength; i++) {
|
|
20354
|
-
const untrustedConfig_names_item = untrustedConfig_names[i];
|
|
20355
|
-
if (typeof untrustedConfig_names_item === 'string') {
|
|
20356
|
-
untrustedConfig_names_array.push(untrustedConfig_names_item);
|
|
20357
|
-
}
|
|
20358
|
-
}
|
|
20359
|
-
config.names = untrustedConfig_names_array;
|
|
20360
|
-
}
|
|
19492
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
19493
|
+
ids: 0 /* String */,
|
|
19494
|
+
names: 0 /* String */,
|
|
19495
|
+
});
|
|
20361
19496
|
return config;
|
|
20362
19497
|
}
|
|
20363
19498
|
function validateAdapterConfig$F(untrustedConfig, configPropertyNames) {
|
|
@@ -20466,14 +19601,10 @@ function keyBuilder$25(luvio, config) {
|
|
|
20466
19601
|
}
|
|
20467
19602
|
function typeCheckConfig$F(untrustedConfig) {
|
|
20468
19603
|
const config = {};
|
|
20469
|
-
|
|
20470
|
-
|
|
20471
|
-
|
|
20472
|
-
}
|
|
20473
|
-
const untrustedConfig_objectApiName = untrustedConfig.objectApiName;
|
|
20474
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
20475
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
20476
|
-
}
|
|
19604
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
19605
|
+
listViewApiName: 0 /* String */,
|
|
19606
|
+
objectApiName: 0 /* String */,
|
|
19607
|
+
});
|
|
20477
19608
|
return config;
|
|
20478
19609
|
}
|
|
20479
19610
|
function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
|
|
@@ -20630,47 +19761,24 @@ function createResourceParams$z(config) {
|
|
|
20630
19761
|
return resourceParams;
|
|
20631
19762
|
}
|
|
20632
19763
|
function coerceConfig$i(config) {
|
|
20633
|
-
|
|
20634
|
-
|
|
20635
|
-
|
|
20636
|
-
|
|
20637
|
-
|
|
20638
|
-
|
|
20639
|
-
|
|
20640
|
-
|
|
20641
|
-
}
|
|
20642
|
-
const filterLogicString = config.filterLogicString;
|
|
20643
|
-
if (filterLogicString !== undefined) {
|
|
20644
|
-
coercedConfig.filterLogicString = filterLogicString;
|
|
20645
|
-
}
|
|
20646
|
-
const filteredByInfo = config.filteredByInfo;
|
|
20647
|
-
if (filteredByInfo !== undefined) {
|
|
20648
|
-
coercedConfig.filteredByInfo = filteredByInfo;
|
|
20649
|
-
}
|
|
20650
|
-
const label = config.label;
|
|
20651
|
-
if (label !== undefined) {
|
|
20652
|
-
coercedConfig.label = label;
|
|
20653
|
-
}
|
|
20654
|
-
const scope = config.scope;
|
|
20655
|
-
if (scope !== undefined) {
|
|
20656
|
-
coercedConfig.scope = scope;
|
|
20657
|
-
}
|
|
20658
|
-
const visibility = config.visibility;
|
|
20659
|
-
if (visibility !== undefined) {
|
|
20660
|
-
coercedConfig.visibility = visibility;
|
|
20661
|
-
}
|
|
20662
|
-
return coercedConfig;
|
|
19764
|
+
return coerceConfig$E(config, {
|
|
19765
|
+
'listViewApiName': 1,
|
|
19766
|
+
'objectApiName': getObjectApiName$1,
|
|
19767
|
+
'filterLogicString': 1,
|
|
19768
|
+
'filteredByInfo': 1,
|
|
19769
|
+
'label': 1,
|
|
19770
|
+
'scope': 1,
|
|
19771
|
+
'visibility': 1,
|
|
19772
|
+
});
|
|
20663
19773
|
}
|
|
20664
19774
|
function typeCheckConfig$E(untrustedConfig) {
|
|
20665
19775
|
const config = {};
|
|
20666
|
-
|
|
20667
|
-
|
|
20668
|
-
|
|
20669
|
-
|
|
20670
|
-
|
|
20671
|
-
|
|
20672
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
20673
|
-
}
|
|
19776
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
19777
|
+
listViewApiName: 0 /* String */,
|
|
19778
|
+
objectApiName: 0 /* String */,
|
|
19779
|
+
label: 0 /* String */,
|
|
19780
|
+
visibility: 0 /* String */,
|
|
19781
|
+
});
|
|
20674
19782
|
const untrustedConfig_filterLogicString = untrustedConfig.filterLogicString;
|
|
20675
19783
|
if (typeof untrustedConfig_filterLogicString === 'string') {
|
|
20676
19784
|
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
@@ -20690,10 +19798,6 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
20690
19798
|
}
|
|
20691
19799
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
20692
19800
|
}
|
|
20693
|
-
const untrustedConfig_label = untrustedConfig.label;
|
|
20694
|
-
if (typeof untrustedConfig_label === 'string') {
|
|
20695
|
-
config.label = untrustedConfig_label;
|
|
20696
|
-
}
|
|
20697
19801
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
20698
19802
|
const referenceListScopeRepresentationValidationError = validate$1F(untrustedConfig_scope);
|
|
20699
19803
|
if (referenceListScopeRepresentationValidationError === null) {
|
|
@@ -20702,10 +19806,6 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
20702
19806
|
if (untrustedConfig_scope === null) {
|
|
20703
19807
|
config.scope = untrustedConfig_scope;
|
|
20704
19808
|
}
|
|
20705
|
-
const untrustedConfig_visibility = untrustedConfig.visibility;
|
|
20706
|
-
if (typeof untrustedConfig_visibility === 'string') {
|
|
20707
|
-
config.visibility = untrustedConfig_visibility;
|
|
20708
|
-
}
|
|
20709
19809
|
return config;
|
|
20710
19810
|
}
|
|
20711
19811
|
function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
|
|
@@ -21255,12 +20355,9 @@ function createResourceParams$y(config) {
|
|
|
21255
20355
|
return resourceParams;
|
|
21256
20356
|
}
|
|
21257
20357
|
function coerceConfig$h(config) {
|
|
21258
|
-
|
|
21259
|
-
|
|
21260
|
-
|
|
21261
|
-
coercedConfig.objectApiName = objectApiName;
|
|
21262
|
-
}
|
|
21263
|
-
return coercedConfig;
|
|
20358
|
+
return coerceConfig$E(config, {
|
|
20359
|
+
'objectApiName': getObjectApiName$1,
|
|
20360
|
+
});
|
|
21264
20361
|
}
|
|
21265
20362
|
function keyBuilder$22(luvio, config) {
|
|
21266
20363
|
const resourceParams = createResourceParams$y(config);
|
|
@@ -21268,10 +20365,9 @@ function keyBuilder$22(luvio, config) {
|
|
|
21268
20365
|
}
|
|
21269
20366
|
function typeCheckConfig$D(untrustedConfig) {
|
|
21270
20367
|
const config = {};
|
|
21271
|
-
|
|
21272
|
-
|
|
21273
|
-
|
|
21274
|
-
}
|
|
20368
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
20369
|
+
objectApiName: 0 /* String */,
|
|
20370
|
+
});
|
|
21275
20371
|
return config;
|
|
21276
20372
|
}
|
|
21277
20373
|
function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
|
|
@@ -21600,24 +20696,12 @@ function createResourceParams$x(config) {
|
|
|
21600
20696
|
return resourceParams;
|
|
21601
20697
|
}
|
|
21602
20698
|
function coerceConfig$g(config) {
|
|
21603
|
-
|
|
21604
|
-
|
|
21605
|
-
|
|
21606
|
-
|
|
21607
|
-
|
|
21608
|
-
|
|
21609
|
-
if (navItemNames !== undefined) {
|
|
21610
|
-
coercedConfig.navItemNames = navItemNames;
|
|
21611
|
-
}
|
|
21612
|
-
const page = config.page;
|
|
21613
|
-
if (page !== undefined) {
|
|
21614
|
-
coercedConfig.page = page;
|
|
21615
|
-
}
|
|
21616
|
-
const pageSize = config.pageSize;
|
|
21617
|
-
if (pageSize !== undefined) {
|
|
21618
|
-
coercedConfig.pageSize = pageSize;
|
|
21619
|
-
}
|
|
21620
|
-
return coercedConfig;
|
|
20699
|
+
return coerceConfig$E(config, {
|
|
20700
|
+
'formFactor': coerceFormFactor,
|
|
20701
|
+
'navItemNames': 1,
|
|
20702
|
+
'page': 1,
|
|
20703
|
+
'pageSize': 1,
|
|
20704
|
+
});
|
|
21621
20705
|
}
|
|
21622
20706
|
function keyBuilder$20(luvio, config) {
|
|
21623
20707
|
const resourceParams = createResourceParams$x(config);
|
|
@@ -21625,29 +20709,14 @@ function keyBuilder$20(luvio, config) {
|
|
|
21625
20709
|
}
|
|
21626
20710
|
function typeCheckConfig$C(untrustedConfig) {
|
|
21627
20711
|
const config = {};
|
|
21628
|
-
|
|
21629
|
-
|
|
21630
|
-
|
|
21631
|
-
|
|
21632
|
-
|
|
21633
|
-
|
|
21634
|
-
|
|
21635
|
-
|
|
21636
|
-
const untrustedConfig_navItemNames_item = untrustedConfig_navItemNames[i];
|
|
21637
|
-
if (typeof untrustedConfig_navItemNames_item === 'string') {
|
|
21638
|
-
untrustedConfig_navItemNames_array.push(untrustedConfig_navItemNames_item);
|
|
21639
|
-
}
|
|
21640
|
-
}
|
|
21641
|
-
config.navItemNames = untrustedConfig_navItemNames_array;
|
|
21642
|
-
}
|
|
21643
|
-
const untrustedConfig_page = untrustedConfig.page;
|
|
21644
|
-
if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
|
|
21645
|
-
config.page = untrustedConfig_page;
|
|
21646
|
-
}
|
|
21647
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
21648
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
21649
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
21650
|
-
}
|
|
20712
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
20713
|
+
formFactor: 0 /* String */,
|
|
20714
|
+
page: 3 /* Integer */,
|
|
20715
|
+
pageSize: 3 /* Integer */,
|
|
20716
|
+
});
|
|
20717
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
20718
|
+
navItemNames: 0 /* String */,
|
|
20719
|
+
});
|
|
21651
20720
|
return config;
|
|
21652
20721
|
}
|
|
21653
20722
|
function validateAdapterConfig$B(untrustedConfig, configPropertyNames) {
|
|
@@ -22014,12 +21083,9 @@ function createResourceParams$w(config) {
|
|
|
22014
21083
|
return resourceParams;
|
|
22015
21084
|
}
|
|
22016
21085
|
function coerceConfig$f(config) {
|
|
22017
|
-
|
|
22018
|
-
|
|
22019
|
-
|
|
22020
|
-
coercedConfig.objectApiNames = objectApiNames;
|
|
22021
|
-
}
|
|
22022
|
-
return coercedConfig;
|
|
21086
|
+
return coerceConfig$E(config, {
|
|
21087
|
+
'objectApiNames': getObjectApiNamesArray,
|
|
21088
|
+
});
|
|
22023
21089
|
}
|
|
22024
21090
|
function keyBuilder$1_(luvio, config) {
|
|
22025
21091
|
const resourceParams = createResourceParams$w(config);
|
|
@@ -22027,17 +21093,9 @@ function keyBuilder$1_(luvio, config) {
|
|
|
22027
21093
|
}
|
|
22028
21094
|
function typeCheckConfig$B(untrustedConfig) {
|
|
22029
21095
|
const config = {};
|
|
22030
|
-
|
|
22031
|
-
|
|
22032
|
-
|
|
22033
|
-
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
22034
|
-
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
22035
|
-
if (typeof untrustedConfig_objectApiNames_item === 'string') {
|
|
22036
|
-
untrustedConfig_objectApiNames_array.push(untrustedConfig_objectApiNames_item);
|
|
22037
|
-
}
|
|
22038
|
-
}
|
|
22039
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
22040
|
-
}
|
|
21096
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
21097
|
+
objectApiNames: 0 /* String */,
|
|
21098
|
+
});
|
|
22041
21099
|
return config;
|
|
22042
21100
|
}
|
|
22043
21101
|
function validateAdapterConfig$A(untrustedConfig, configPropertyNames) {
|
|
@@ -22702,16 +21760,10 @@ function createResourceParams$v(config) {
|
|
|
22702
21760
|
return resourceParams;
|
|
22703
21761
|
}
|
|
22704
21762
|
function coerceConfig$e(config) {
|
|
22705
|
-
|
|
22706
|
-
|
|
22707
|
-
|
|
22708
|
-
|
|
22709
|
-
}
|
|
22710
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
22711
|
-
if (recordTypeId !== undefined) {
|
|
22712
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
22713
|
-
}
|
|
22714
|
-
return coercedConfig;
|
|
21763
|
+
return coerceConfig$E(config, {
|
|
21764
|
+
'objectApiName': getObjectApiName$1,
|
|
21765
|
+
'recordTypeId': getRecordId18,
|
|
21766
|
+
});
|
|
22715
21767
|
}
|
|
22716
21768
|
function keyBuilder$1X(luvio, config) {
|
|
22717
21769
|
const resourceParams = createResourceParams$v(config);
|
|
@@ -22719,14 +21771,10 @@ function keyBuilder$1X(luvio, config) {
|
|
|
22719
21771
|
}
|
|
22720
21772
|
function typeCheckConfig$A(untrustedConfig) {
|
|
22721
21773
|
const config = {};
|
|
22722
|
-
|
|
22723
|
-
|
|
22724
|
-
|
|
22725
|
-
}
|
|
22726
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
22727
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
22728
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
22729
|
-
}
|
|
21774
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
21775
|
+
objectApiName: 0 /* String */,
|
|
21776
|
+
recordTypeId: 0 /* String */,
|
|
21777
|
+
});
|
|
22730
21778
|
return config;
|
|
22731
21779
|
}
|
|
22732
21780
|
function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
|
|
@@ -22951,35 +21999,19 @@ function validateAdapterConfig$y(untrusted, _config) {
|
|
|
22951
21999
|
}
|
|
22952
22000
|
|
|
22953
22001
|
function coerceConfig$d(config) {
|
|
22954
|
-
|
|
22955
|
-
|
|
22956
|
-
|
|
22957
|
-
|
|
22958
|
-
}
|
|
22959
|
-
const objectApiName = config.objectApiName;
|
|
22960
|
-
if (objectApiName !== undefined) {
|
|
22961
|
-
coercedConfig.objectApiName = objectApiName;
|
|
22962
|
-
}
|
|
22963
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
22964
|
-
if (recordTypeId !== undefined) {
|
|
22965
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
22966
|
-
}
|
|
22967
|
-
return coercedConfig;
|
|
22002
|
+
return coerceConfig$E(config, {
|
|
22003
|
+
'fieldApiName': getFieldApiName,
|
|
22004
|
+
'objectApiName': 1,
|
|
22005
|
+
'recordTypeId': getRecordId18,
|
|
22006
|
+
});
|
|
22968
22007
|
}
|
|
22969
22008
|
function typeCheckConfig$z(untrustedConfig) {
|
|
22970
22009
|
const config = {};
|
|
22971
|
-
|
|
22972
|
-
|
|
22973
|
-
|
|
22974
|
-
|
|
22975
|
-
|
|
22976
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
22977
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
22978
|
-
}
|
|
22979
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
22980
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
22981
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
22982
|
-
}
|
|
22010
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
22011
|
+
fieldApiName: 0 /* String */,
|
|
22012
|
+
objectApiName: 0 /* String */,
|
|
22013
|
+
recordTypeId: 0 /* String */,
|
|
22014
|
+
});
|
|
22983
22015
|
return config;
|
|
22984
22016
|
}
|
|
22985
22017
|
function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
|
|
@@ -23286,14 +22318,10 @@ function keyBuilder$1V(luvio, config) {
|
|
|
23286
22318
|
}
|
|
23287
22319
|
function typeCheckConfig$y(untrustedConfig) {
|
|
23288
22320
|
const config = {};
|
|
23289
|
-
|
|
23290
|
-
|
|
23291
|
-
|
|
23292
|
-
}
|
|
23293
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
23294
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
23295
|
-
config.apiName = untrustedConfig_apiName;
|
|
23296
|
-
}
|
|
22321
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
22322
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
22323
|
+
apiName: 0 /* String */,
|
|
22324
|
+
});
|
|
23297
22325
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
23298
22326
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
23299
22327
|
const untrustedConfig_fields_object = {};
|
|
@@ -24810,34 +23838,19 @@ function createResourceParams$t(config) {
|
|
|
24810
23838
|
return resourceParams;
|
|
24811
23839
|
}
|
|
24812
23840
|
function coerceConfig$c(config) {
|
|
24813
|
-
|
|
24814
|
-
|
|
24815
|
-
|
|
24816
|
-
|
|
24817
|
-
}
|
|
24818
|
-
const formFactor = coerceFormFactor(config.formFactor);
|
|
24819
|
-
if (formFactor !== undefined) {
|
|
24820
|
-
coercedConfig.formFactor = formFactor;
|
|
24821
|
-
}
|
|
24822
|
-
return coercedConfig;
|
|
23841
|
+
return coerceConfig$E(config, {
|
|
23842
|
+
'recordIds': getRecordId18Array,
|
|
23843
|
+
'formFactor': coerceFormFactor,
|
|
23844
|
+
});
|
|
24823
23845
|
}
|
|
24824
23846
|
function typeCheckConfig$x(untrustedConfig) {
|
|
24825
23847
|
const config = {};
|
|
24826
|
-
|
|
24827
|
-
|
|
24828
|
-
|
|
24829
|
-
|
|
24830
|
-
|
|
24831
|
-
|
|
24832
|
-
untrustedConfig_recordIds_array.push(untrustedConfig_recordIds_item);
|
|
24833
|
-
}
|
|
24834
|
-
}
|
|
24835
|
-
config.recordIds = untrustedConfig_recordIds_array;
|
|
24836
|
-
}
|
|
24837
|
-
const untrustedConfig_formFactor = untrustedConfig.formFactor;
|
|
24838
|
-
if (typeof untrustedConfig_formFactor === 'string') {
|
|
24839
|
-
config.formFactor = untrustedConfig_formFactor;
|
|
24840
|
-
}
|
|
23848
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
23849
|
+
formFactor: 0 /* String */,
|
|
23850
|
+
});
|
|
23851
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
23852
|
+
recordIds: 0 /* String */,
|
|
23853
|
+
});
|
|
24841
23854
|
return config;
|
|
24842
23855
|
}
|
|
24843
23856
|
function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
|
|
@@ -25818,20 +24831,11 @@ function createResourceParams$s(config) {
|
|
|
25818
24831
|
return resourceParams;
|
|
25819
24832
|
}
|
|
25820
24833
|
function coerceConfig$a(config) {
|
|
25821
|
-
|
|
25822
|
-
|
|
25823
|
-
|
|
25824
|
-
|
|
25825
|
-
}
|
|
25826
|
-
const relatedListNames = getFieldApiNamesArray(config.relatedListNames);
|
|
25827
|
-
if (relatedListNames !== undefined) {
|
|
25828
|
-
coercedConfig.relatedListNames = relatedListNames;
|
|
25829
|
-
}
|
|
25830
|
-
const maxCount = config.maxCount;
|
|
25831
|
-
if (maxCount !== undefined) {
|
|
25832
|
-
coercedConfig.maxCount = maxCount;
|
|
25833
|
-
}
|
|
25834
|
-
return coercedConfig;
|
|
24834
|
+
return coerceConfig$E(config, {
|
|
24835
|
+
'parentRecordId': 1,
|
|
24836
|
+
'relatedListNames': getFieldApiNamesArray,
|
|
24837
|
+
'maxCount': 1,
|
|
24838
|
+
});
|
|
25835
24839
|
}
|
|
25836
24840
|
function keyBuilder$1O(luvio, config) {
|
|
25837
24841
|
const resourceParams = createResourceParams$s(config);
|
|
@@ -25839,25 +24843,13 @@ function keyBuilder$1O(luvio, config) {
|
|
|
25839
24843
|
}
|
|
25840
24844
|
function typeCheckConfig$v(untrustedConfig) {
|
|
25841
24845
|
const config = {};
|
|
25842
|
-
|
|
25843
|
-
|
|
25844
|
-
|
|
25845
|
-
}
|
|
25846
|
-
|
|
25847
|
-
|
|
25848
|
-
|
|
25849
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
|
|
25850
|
-
const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
|
|
25851
|
-
if (typeof untrustedConfig_relatedListNames_item === 'string') {
|
|
25852
|
-
untrustedConfig_relatedListNames_array.push(untrustedConfig_relatedListNames_item);
|
|
25853
|
-
}
|
|
25854
|
-
}
|
|
25855
|
-
config.relatedListNames = untrustedConfig_relatedListNames_array;
|
|
25856
|
-
}
|
|
25857
|
-
const untrustedConfig_maxCount = untrustedConfig.maxCount;
|
|
25858
|
-
if (typeof untrustedConfig_maxCount === 'number' && Math.floor(untrustedConfig_maxCount) === untrustedConfig_maxCount) {
|
|
25859
|
-
config.maxCount = untrustedConfig_maxCount;
|
|
25860
|
-
}
|
|
24846
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
24847
|
+
parentRecordId: 0 /* String */,
|
|
24848
|
+
maxCount: 3 /* Integer */,
|
|
24849
|
+
});
|
|
24850
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
24851
|
+
relatedListNames: 0 /* String */,
|
|
24852
|
+
});
|
|
25861
24853
|
return config;
|
|
25862
24854
|
}
|
|
25863
24855
|
function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
@@ -25970,18 +24962,11 @@ function keyBuilder$1N(luvio, config) {
|
|
|
25970
24962
|
}
|
|
25971
24963
|
function typeCheckConfig$u(untrustedConfig) {
|
|
25972
24964
|
const config = {};
|
|
25973
|
-
|
|
25974
|
-
|
|
25975
|
-
|
|
25976
|
-
|
|
25977
|
-
|
|
25978
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
25979
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
25980
|
-
}
|
|
25981
|
-
const untrustedConfig_maxCount = untrustedConfig.maxCount;
|
|
25982
|
-
if (typeof untrustedConfig_maxCount === 'number' && Math.floor(untrustedConfig_maxCount) === untrustedConfig_maxCount) {
|
|
25983
|
-
config.maxCount = untrustedConfig_maxCount;
|
|
25984
|
-
}
|
|
24965
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
24966
|
+
parentRecordId: 0 /* String */,
|
|
24967
|
+
relatedListId: 0 /* String */,
|
|
24968
|
+
maxCount: 3 /* Integer */,
|
|
24969
|
+
});
|
|
25985
24970
|
return config;
|
|
25986
24971
|
}
|
|
25987
24972
|
function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
|
|
@@ -26892,20 +25877,11 @@ function createResourceParams$q(config) {
|
|
|
26892
25877
|
return resourceParams;
|
|
26893
25878
|
}
|
|
26894
25879
|
function coerceConfig$9(config) {
|
|
26895
|
-
|
|
26896
|
-
|
|
26897
|
-
|
|
26898
|
-
|
|
26899
|
-
}
|
|
26900
|
-
const relatedListNames = config.relatedListNames;
|
|
26901
|
-
if (relatedListNames !== undefined) {
|
|
26902
|
-
coercedConfig.relatedListNames = relatedListNames;
|
|
26903
|
-
}
|
|
26904
|
-
const recordTypeId = config.recordTypeId;
|
|
26905
|
-
if (recordTypeId !== undefined) {
|
|
26906
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
26907
|
-
}
|
|
26908
|
-
return coercedConfig;
|
|
25880
|
+
return coerceConfig$E(config, {
|
|
25881
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
25882
|
+
'relatedListNames': 1,
|
|
25883
|
+
'recordTypeId': 1,
|
|
25884
|
+
});
|
|
26909
25885
|
}
|
|
26910
25886
|
function keyBuilder$1J(luvio, config) {
|
|
26911
25887
|
const resourceParams = createResourceParams$q(config);
|
|
@@ -26913,25 +25889,13 @@ function keyBuilder$1J(luvio, config) {
|
|
|
26913
25889
|
}
|
|
26914
25890
|
function typeCheckConfig$t(untrustedConfig) {
|
|
26915
25891
|
const config = {};
|
|
26916
|
-
|
|
26917
|
-
|
|
26918
|
-
|
|
26919
|
-
}
|
|
26920
|
-
|
|
26921
|
-
|
|
26922
|
-
|
|
26923
|
-
for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
|
|
26924
|
-
const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
|
|
26925
|
-
if (typeof untrustedConfig_relatedListNames_item === 'string') {
|
|
26926
|
-
untrustedConfig_relatedListNames_array.push(untrustedConfig_relatedListNames_item);
|
|
26927
|
-
}
|
|
26928
|
-
}
|
|
26929
|
-
config.relatedListNames = untrustedConfig_relatedListNames_array;
|
|
26930
|
-
}
|
|
26931
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
26932
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
26933
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
26934
|
-
}
|
|
25892
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
25893
|
+
parentObjectApiName: 0 /* String */,
|
|
25894
|
+
recordTypeId: 0 /* String */,
|
|
25895
|
+
});
|
|
25896
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
25897
|
+
relatedListNames: 0 /* String */,
|
|
25898
|
+
});
|
|
26935
25899
|
return config;
|
|
26936
25900
|
}
|
|
26937
25901
|
function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
|
|
@@ -27362,16 +26326,10 @@ function createResourceParams$p(config) {
|
|
|
27362
26326
|
return resourceParams;
|
|
27363
26327
|
}
|
|
27364
26328
|
function coerceConfig$8(config) {
|
|
27365
|
-
|
|
27366
|
-
|
|
27367
|
-
|
|
27368
|
-
|
|
27369
|
-
}
|
|
27370
|
-
const recordTypeId = config.recordTypeId;
|
|
27371
|
-
if (recordTypeId !== undefined) {
|
|
27372
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
27373
|
-
}
|
|
27374
|
-
return coercedConfig;
|
|
26329
|
+
return coerceConfig$E(config, {
|
|
26330
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
26331
|
+
'recordTypeId': 1,
|
|
26332
|
+
});
|
|
27375
26333
|
}
|
|
27376
26334
|
function keyBuilder$1G(luvio, config) {
|
|
27377
26335
|
const resourceParams = createResourceParams$p(config);
|
|
@@ -27379,14 +26337,10 @@ function keyBuilder$1G(luvio, config) {
|
|
|
27379
26337
|
}
|
|
27380
26338
|
function typeCheckConfig$s(untrustedConfig) {
|
|
27381
26339
|
const config = {};
|
|
27382
|
-
|
|
27383
|
-
|
|
27384
|
-
|
|
27385
|
-
}
|
|
27386
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
27387
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
27388
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
27389
|
-
}
|
|
26340
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26341
|
+
parentObjectApiName: 0 /* String */,
|
|
26342
|
+
recordTypeId: 0 /* String */,
|
|
26343
|
+
});
|
|
27390
26344
|
return config;
|
|
27391
26345
|
}
|
|
27392
26346
|
function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
@@ -27494,32 +26448,14 @@ function createResourceParams$o(config) {
|
|
|
27494
26448
|
return resourceParams;
|
|
27495
26449
|
}
|
|
27496
26450
|
function coerceConfig$7(config) {
|
|
27497
|
-
|
|
27498
|
-
|
|
27499
|
-
|
|
27500
|
-
|
|
27501
|
-
|
|
27502
|
-
|
|
27503
|
-
|
|
27504
|
-
|
|
27505
|
-
}
|
|
27506
|
-
const fields = config.fields;
|
|
27507
|
-
if (fields !== undefined) {
|
|
27508
|
-
coercedConfig.fields = fields;
|
|
27509
|
-
}
|
|
27510
|
-
const optionalFields = config.optionalFields;
|
|
27511
|
-
if (optionalFields !== undefined) {
|
|
27512
|
-
coercedConfig.optionalFields = optionalFields;
|
|
27513
|
-
}
|
|
27514
|
-
const recordTypeId = config.recordTypeId;
|
|
27515
|
-
if (recordTypeId !== undefined) {
|
|
27516
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
27517
|
-
}
|
|
27518
|
-
const restrictColumnsToLayout = config.restrictColumnsToLayout;
|
|
27519
|
-
if (restrictColumnsToLayout !== undefined) {
|
|
27520
|
-
coercedConfig.restrictColumnsToLayout = restrictColumnsToLayout;
|
|
27521
|
-
}
|
|
27522
|
-
return coercedConfig;
|
|
26451
|
+
return coerceConfig$E(config, {
|
|
26452
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
26453
|
+
'relatedListId': 1,
|
|
26454
|
+
'fields': 1,
|
|
26455
|
+
'optionalFields': 1,
|
|
26456
|
+
'recordTypeId': 1,
|
|
26457
|
+
'restrictColumnsToLayout': 1,
|
|
26458
|
+
});
|
|
27523
26459
|
}
|
|
27524
26460
|
function keyBuilder$1F(luvio, config) {
|
|
27525
26461
|
const resourceParams = createResourceParams$o(config);
|
|
@@ -27527,44 +26463,16 @@ function keyBuilder$1F(luvio, config) {
|
|
|
27527
26463
|
}
|
|
27528
26464
|
function typeCheckConfig$r(untrustedConfig) {
|
|
27529
26465
|
const config = {};
|
|
27530
|
-
|
|
27531
|
-
|
|
27532
|
-
|
|
27533
|
-
|
|
27534
|
-
|
|
27535
|
-
|
|
27536
|
-
|
|
27537
|
-
|
|
27538
|
-
|
|
27539
|
-
|
|
27540
|
-
const untrustedConfig_fields_array = [];
|
|
27541
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
27542
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
27543
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
27544
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
27545
|
-
}
|
|
27546
|
-
}
|
|
27547
|
-
config.fields = untrustedConfig_fields_array;
|
|
27548
|
-
}
|
|
27549
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
27550
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
27551
|
-
const untrustedConfig_optionalFields_array = [];
|
|
27552
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
27553
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
27554
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
27555
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
27556
|
-
}
|
|
27557
|
-
}
|
|
27558
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
27559
|
-
}
|
|
27560
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
27561
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
27562
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
27563
|
-
}
|
|
27564
|
-
const untrustedConfig_restrictColumnsToLayout = untrustedConfig.restrictColumnsToLayout;
|
|
27565
|
-
if (typeof untrustedConfig_restrictColumnsToLayout === 'boolean') {
|
|
27566
|
-
config.restrictColumnsToLayout = untrustedConfig_restrictColumnsToLayout;
|
|
27567
|
-
}
|
|
26466
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26467
|
+
parentObjectApiName: 0 /* String */,
|
|
26468
|
+
relatedListId: 0 /* String */,
|
|
26469
|
+
recordTypeId: 0 /* String */,
|
|
26470
|
+
restrictColumnsToLayout: 1 /* Boolean */,
|
|
26471
|
+
});
|
|
26472
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
26473
|
+
fields: 0 /* String */,
|
|
26474
|
+
optionalFields: 0 /* String */,
|
|
26475
|
+
});
|
|
27568
26476
|
return config;
|
|
27569
26477
|
}
|
|
27570
26478
|
function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
|
|
@@ -27768,43 +26676,21 @@ function createResourceParams$n(config) {
|
|
|
27768
26676
|
return resourceParams;
|
|
27769
26677
|
}
|
|
27770
26678
|
function coerceConfig$6(config) {
|
|
27771
|
-
|
|
27772
|
-
|
|
27773
|
-
|
|
27774
|
-
|
|
27775
|
-
|
|
27776
|
-
|
|
27777
|
-
|
|
27778
|
-
coercedConfig.relatedListId = relatedListId;
|
|
27779
|
-
}
|
|
27780
|
-
const recordTypeId = config.recordTypeId;
|
|
27781
|
-
if (recordTypeId !== undefined) {
|
|
27782
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
27783
|
-
}
|
|
27784
|
-
const orderedByInfo = config.orderedByInfo;
|
|
27785
|
-
if (orderedByInfo !== undefined) {
|
|
27786
|
-
coercedConfig.orderedByInfo = orderedByInfo;
|
|
27787
|
-
}
|
|
27788
|
-
const userPreferences = config.userPreferences;
|
|
27789
|
-
if (userPreferences !== undefined) {
|
|
27790
|
-
coercedConfig.userPreferences = userPreferences;
|
|
27791
|
-
}
|
|
27792
|
-
return coercedConfig;
|
|
26679
|
+
return coerceConfig$E(config, {
|
|
26680
|
+
'parentObjectApiName': getObjectApiName$1,
|
|
26681
|
+
'relatedListId': 1,
|
|
26682
|
+
'recordTypeId': 1,
|
|
26683
|
+
'orderedByInfo': 1,
|
|
26684
|
+
'userPreferences': 1,
|
|
26685
|
+
});
|
|
27793
26686
|
}
|
|
27794
26687
|
function typeCheckConfig$q(untrustedConfig) {
|
|
27795
26688
|
const config = {};
|
|
27796
|
-
|
|
27797
|
-
|
|
27798
|
-
|
|
27799
|
-
|
|
27800
|
-
|
|
27801
|
-
if (typeof untrustedConfig_relatedListId === 'string') {
|
|
27802
|
-
config.relatedListId = untrustedConfig_relatedListId;
|
|
27803
|
-
}
|
|
27804
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
27805
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
27806
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
27807
|
-
}
|
|
26689
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
26690
|
+
parentObjectApiName: 0 /* String */,
|
|
26691
|
+
relatedListId: 0 /* String */,
|
|
26692
|
+
recordTypeId: 0 /* String */,
|
|
26693
|
+
});
|
|
27808
26694
|
const untrustedConfig_orderedByInfo = untrustedConfig.orderedByInfo;
|
|
27809
26695
|
if (ArrayIsArray$1(untrustedConfig_orderedByInfo)) {
|
|
27810
26696
|
const untrustedConfig_orderedByInfo_array = [];
|
|
@@ -28329,17 +27215,9 @@ function keyBuilder$1B(luvio, config) {
|
|
|
28329
27215
|
}
|
|
28330
27216
|
function typeCheckConfig$p(untrustedConfig) {
|
|
28331
27217
|
const config = {};
|
|
28332
|
-
|
|
28333
|
-
|
|
28334
|
-
|
|
28335
|
-
for (let i = 0, arrayLength = untrustedConfig_preferencesIds.length; i < arrayLength; i++) {
|
|
28336
|
-
const untrustedConfig_preferencesIds_item = untrustedConfig_preferencesIds[i];
|
|
28337
|
-
if (typeof untrustedConfig_preferencesIds_item === 'string') {
|
|
28338
|
-
untrustedConfig_preferencesIds_array.push(untrustedConfig_preferencesIds_item);
|
|
28339
|
-
}
|
|
28340
|
-
}
|
|
28341
|
-
config.preferencesIds = untrustedConfig_preferencesIds_array;
|
|
28342
|
-
}
|
|
27218
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
27219
|
+
preferencesIds: 0 /* String */,
|
|
27220
|
+
});
|
|
28343
27221
|
return config;
|
|
28344
27222
|
}
|
|
28345
27223
|
function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
|
|
@@ -28448,10 +27326,9 @@ function keyBuilder$1A(luvio, config) {
|
|
|
28448
27326
|
}
|
|
28449
27327
|
function typeCheckConfig$o(untrustedConfig) {
|
|
28450
27328
|
const config = {};
|
|
28451
|
-
|
|
28452
|
-
|
|
28453
|
-
|
|
28454
|
-
}
|
|
27329
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
27330
|
+
preferencesId: 0 /* String */,
|
|
27331
|
+
});
|
|
28455
27332
|
return config;
|
|
28456
27333
|
}
|
|
28457
27334
|
function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
|
|
@@ -28603,10 +27480,9 @@ function createResourceParams$k(config) {
|
|
|
28603
27480
|
}
|
|
28604
27481
|
function typeCheckConfig$n(untrustedConfig) {
|
|
28605
27482
|
const config = {};
|
|
28606
|
-
|
|
28607
|
-
|
|
28608
|
-
|
|
28609
|
-
}
|
|
27483
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
27484
|
+
preferencesId: 0 /* String */,
|
|
27485
|
+
});
|
|
28610
27486
|
const untrustedConfig_columnWidths = untrustedConfig.columnWidths;
|
|
28611
27487
|
if (untrustedIsObject(untrustedConfig_columnWidths)) {
|
|
28612
27488
|
const untrustedConfig_columnWidths_object = {};
|
|
@@ -29940,10 +28816,9 @@ function keyBuilder$1w(luvio, config) {
|
|
|
29940
28816
|
}
|
|
29941
28817
|
function typeCheckConfig$m(untrustedConfig) {
|
|
29942
28818
|
const config = {};
|
|
29943
|
-
|
|
29944
|
-
|
|
29945
|
-
|
|
29946
|
-
}
|
|
28819
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
28820
|
+
parentRecordId: 0 /* String */,
|
|
28821
|
+
});
|
|
29947
28822
|
const untrustedConfig_relatedListParameters = untrustedConfig.relatedListParameters;
|
|
29948
28823
|
if (ArrayIsArray$1(untrustedConfig_relatedListParameters)) {
|
|
29949
28824
|
const untrustedConfig_relatedListParameters_array = [];
|
|
@@ -30080,59 +28955,18 @@ function keyBuilder$1v(luvio, config) {
|
|
|
30080
28955
|
}
|
|
30081
28956
|
function typeCheckConfig$l(untrustedConfig) {
|
|
30082
28957
|
const config = {};
|
|
30083
|
-
|
|
30084
|
-
|
|
30085
|
-
|
|
30086
|
-
|
|
30087
|
-
|
|
30088
|
-
|
|
30089
|
-
|
|
30090
|
-
|
|
30091
|
-
|
|
30092
|
-
|
|
30093
|
-
|
|
30094
|
-
|
|
30095
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
30096
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
30097
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
30098
|
-
}
|
|
30099
|
-
}
|
|
30100
|
-
config.fields = untrustedConfig_fields_array;
|
|
30101
|
-
}
|
|
30102
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
30103
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
30104
|
-
const untrustedConfig_optionalFields_array = [];
|
|
30105
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
30106
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
30107
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
30108
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
30109
|
-
}
|
|
30110
|
-
}
|
|
30111
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
30112
|
-
}
|
|
30113
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
30114
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
30115
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
30116
|
-
}
|
|
30117
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
30118
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
30119
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
30120
|
-
}
|
|
30121
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
30122
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
30123
|
-
const untrustedConfig_sortBy_array = [];
|
|
30124
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
30125
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
30126
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
30127
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
30128
|
-
}
|
|
30129
|
-
}
|
|
30130
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
30131
|
-
}
|
|
30132
|
-
const untrustedConfig_where = untrustedConfig.where;
|
|
30133
|
-
if (typeof untrustedConfig_where === 'string') {
|
|
30134
|
-
config.where = untrustedConfig_where;
|
|
30135
|
-
}
|
|
28958
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
28959
|
+
parentRecordId: 0 /* String */,
|
|
28960
|
+
relatedListId: 0 /* String */,
|
|
28961
|
+
pageSize: 3 /* Integer */,
|
|
28962
|
+
pageToken: 0 /* String */,
|
|
28963
|
+
where: 0 /* String */,
|
|
28964
|
+
});
|
|
28965
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
28966
|
+
fields: 0 /* String */,
|
|
28967
|
+
optionalFields: 0 /* String */,
|
|
28968
|
+
sortBy: 0 /* String */,
|
|
28969
|
+
});
|
|
30136
28970
|
return config;
|
|
30137
28971
|
}
|
|
30138
28972
|
function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
|
|
@@ -30754,10 +29588,9 @@ function keyBuilder$1s(luvio, config) {
|
|
|
30754
29588
|
}
|
|
30755
29589
|
function typeCheckConfig$k(untrustedConfig) {
|
|
30756
29590
|
const config = {};
|
|
30757
|
-
|
|
30758
|
-
|
|
30759
|
-
|
|
30760
|
-
}
|
|
29591
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
29592
|
+
objectApiName: 0 /* String */,
|
|
29593
|
+
});
|
|
30761
29594
|
return config;
|
|
30762
29595
|
}
|
|
30763
29596
|
function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
@@ -31055,18 +29888,11 @@ function keyBuilder$1p(luvio, config) {
|
|
|
31055
29888
|
}
|
|
31056
29889
|
function typeCheckConfig$j(untrustedConfig) {
|
|
31057
29890
|
const config = {};
|
|
31058
|
-
|
|
31059
|
-
|
|
31060
|
-
|
|
31061
|
-
|
|
31062
|
-
|
|
31063
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
31064
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
31065
|
-
}
|
|
31066
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
31067
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
31068
|
-
config.q = untrustedConfig_q;
|
|
31069
|
-
}
|
|
29891
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
29892
|
+
filterApiName: 0 /* String */,
|
|
29893
|
+
objectApiName: 0 /* String */,
|
|
29894
|
+
q: 0 /* String */,
|
|
29895
|
+
});
|
|
31070
29896
|
return config;
|
|
31071
29897
|
}
|
|
31072
29898
|
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
@@ -31458,14 +30284,10 @@ function keyBuilder$1m(luvio, config) {
|
|
|
31458
30284
|
}
|
|
31459
30285
|
function typeCheckConfig$i(untrustedConfig) {
|
|
31460
30286
|
const config = {};
|
|
31461
|
-
|
|
31462
|
-
|
|
31463
|
-
|
|
31464
|
-
}
|
|
31465
|
-
const untrustedConfig_objectApiName = untrustedConfig.objectApiName;
|
|
31466
|
-
if (typeof untrustedConfig_objectApiName === 'string') {
|
|
31467
|
-
config.objectApiName = untrustedConfig_objectApiName;
|
|
31468
|
-
}
|
|
30287
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30288
|
+
fieldApiName: 0 /* String */,
|
|
30289
|
+
objectApiName: 0 /* String */,
|
|
30290
|
+
});
|
|
31469
30291
|
return config;
|
|
31470
30292
|
}
|
|
31471
30293
|
function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
@@ -32048,32 +30870,13 @@ function keyBuilder$1j(luvio, config) {
|
|
|
32048
30870
|
}
|
|
32049
30871
|
function typeCheckConfig$h(untrustedConfig) {
|
|
32050
30872
|
const config = {};
|
|
32051
|
-
|
|
32052
|
-
|
|
32053
|
-
|
|
32054
|
-
|
|
32055
|
-
|
|
32056
|
-
|
|
32057
|
-
|
|
32058
|
-
for (let i = 0, arrayLength = untrustedConfig_answerTypes.length; i < arrayLength; i++) {
|
|
32059
|
-
const untrustedConfig_answerTypes_item = untrustedConfig_answerTypes[i];
|
|
32060
|
-
if (typeof untrustedConfig_answerTypes_item === 'string') {
|
|
32061
|
-
untrustedConfig_answerTypes_array.push(untrustedConfig_answerTypes_item);
|
|
32062
|
-
}
|
|
32063
|
-
}
|
|
32064
|
-
config.answerTypes = untrustedConfig_answerTypes_array;
|
|
32065
|
-
}
|
|
32066
|
-
const untrustedConfig_objectApiNames = untrustedConfig.objectApiNames;
|
|
32067
|
-
if (ArrayIsArray$1(untrustedConfig_objectApiNames)) {
|
|
32068
|
-
const untrustedConfig_objectApiNames_array = [];
|
|
32069
|
-
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
32070
|
-
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
32071
|
-
if (typeof untrustedConfig_objectApiNames_item === 'string') {
|
|
32072
|
-
untrustedConfig_objectApiNames_array.push(untrustedConfig_objectApiNames_item);
|
|
32073
|
-
}
|
|
32074
|
-
}
|
|
32075
|
-
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
32076
|
-
}
|
|
30873
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
30874
|
+
q: 0 /* String */,
|
|
30875
|
+
});
|
|
30876
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
30877
|
+
answerTypes: 0 /* String */,
|
|
30878
|
+
objectApiNames: 0 /* String */,
|
|
30879
|
+
});
|
|
32077
30880
|
return config;
|
|
32078
30881
|
}
|
|
32079
30882
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -32420,14 +31223,13 @@ function keyBuilder$1g(luvio, config) {
|
|
|
32420
31223
|
}
|
|
32421
31224
|
function typeCheckConfig$g(untrustedConfig) {
|
|
32422
31225
|
const config = {};
|
|
32423
|
-
|
|
32424
|
-
|
|
32425
|
-
|
|
32426
|
-
|
|
32427
|
-
|
|
32428
|
-
|
|
32429
|
-
|
|
32430
|
-
}
|
|
31226
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
31227
|
+
objectApiName: 0 /* String */,
|
|
31228
|
+
q: 0 /* String */,
|
|
31229
|
+
pageSize: 3 /* Integer */,
|
|
31230
|
+
pageToken: 0 /* String */,
|
|
31231
|
+
sortBy: 0 /* String */,
|
|
31232
|
+
});
|
|
32431
31233
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
32432
31234
|
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
32433
31235
|
const untrustedConfig_filters_array = [];
|
|
@@ -32440,18 +31242,6 @@ function typeCheckConfig$g(untrustedConfig) {
|
|
|
32440
31242
|
}
|
|
32441
31243
|
config.filters = untrustedConfig_filters_array;
|
|
32442
31244
|
}
|
|
32443
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
32444
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
32445
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
32446
|
-
}
|
|
32447
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
32448
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
32449
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
32450
|
-
}
|
|
32451
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
32452
|
-
if (typeof untrustedConfig_sortBy === 'string') {
|
|
32453
|
-
config.sortBy = untrustedConfig_sortBy;
|
|
32454
|
-
}
|
|
32455
31245
|
return config;
|
|
32456
31246
|
}
|
|
32457
31247
|
function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
@@ -48922,22 +47712,12 @@ function createResourceParams$a(config) {
|
|
|
48922
47712
|
}
|
|
48923
47713
|
function typeCheckConfig$d(untrustedConfig) {
|
|
48924
47714
|
const config = {};
|
|
48925
|
-
|
|
48926
|
-
|
|
48927
|
-
|
|
48928
|
-
|
|
48929
|
-
|
|
48930
|
-
|
|
48931
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
48932
|
-
}
|
|
48933
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
48934
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
48935
|
-
config.apiName = untrustedConfig_apiName;
|
|
48936
|
-
}
|
|
48937
|
-
const untrustedConfig_contextId = untrustedConfig.contextId;
|
|
48938
|
-
if (typeof untrustedConfig_contextId === 'string') {
|
|
48939
|
-
config.contextId = untrustedConfig_contextId;
|
|
48940
|
-
}
|
|
47715
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
47716
|
+
actionApiName: 0 /* String */,
|
|
47717
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
47718
|
+
apiName: 0 /* String */,
|
|
47719
|
+
contextId: 0 /* String */,
|
|
47720
|
+
});
|
|
48941
47721
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
48942
47722
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
48943
47723
|
const untrustedConfig_fields_object = {};
|
|
@@ -49079,22 +47859,12 @@ function createResourceParams$9(config) {
|
|
|
49079
47859
|
}
|
|
49080
47860
|
function typeCheckConfig$c(untrustedConfig) {
|
|
49081
47861
|
const config = {};
|
|
49082
|
-
|
|
49083
|
-
|
|
49084
|
-
|
|
49085
|
-
|
|
49086
|
-
|
|
49087
|
-
|
|
49088
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
49089
|
-
}
|
|
49090
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
49091
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
49092
|
-
config.apiName = untrustedConfig_apiName;
|
|
49093
|
-
}
|
|
49094
|
-
const untrustedConfig_contextId = untrustedConfig.contextId;
|
|
49095
|
-
if (typeof untrustedConfig_contextId === 'string') {
|
|
49096
|
-
config.contextId = untrustedConfig_contextId;
|
|
49097
|
-
}
|
|
47862
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
47863
|
+
actionApiName: 0 /* String */,
|
|
47864
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
47865
|
+
apiName: 0 /* String */,
|
|
47866
|
+
contextId: 0 /* String */,
|
|
47867
|
+
});
|
|
49098
47868
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
49099
47869
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
49100
47870
|
const untrustedConfig_fields_object = {};
|
|
@@ -49386,55 +48156,17 @@ function keyBuilder$9(luvio, config) {
|
|
|
49386
48156
|
}
|
|
49387
48157
|
function typeCheckConfig$b(untrustedConfig) {
|
|
49388
48158
|
const config = {};
|
|
49389
|
-
|
|
49390
|
-
|
|
49391
|
-
|
|
49392
|
-
|
|
49393
|
-
|
|
49394
|
-
|
|
49395
|
-
|
|
49396
|
-
|
|
49397
|
-
|
|
49398
|
-
|
|
49399
|
-
|
|
49400
|
-
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
49401
|
-
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
49402
|
-
if (typeof untrustedConfig_fields_item === 'string') {
|
|
49403
|
-
untrustedConfig_fields_array.push(untrustedConfig_fields_item);
|
|
49404
|
-
}
|
|
49405
|
-
}
|
|
49406
|
-
config.fields = untrustedConfig_fields_array;
|
|
49407
|
-
}
|
|
49408
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
49409
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
49410
|
-
const untrustedConfig_optionalFields_array = [];
|
|
49411
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
49412
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
49413
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
49414
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
49415
|
-
}
|
|
49416
|
-
}
|
|
49417
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
49418
|
-
}
|
|
49419
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
49420
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
49421
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
49422
|
-
}
|
|
49423
|
-
const untrustedConfig_pageToken = untrustedConfig.pageToken;
|
|
49424
|
-
if (typeof untrustedConfig_pageToken === 'string') {
|
|
49425
|
-
config.pageToken = untrustedConfig_pageToken;
|
|
49426
|
-
}
|
|
49427
|
-
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
49428
|
-
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
49429
|
-
const untrustedConfig_sortBy_array = [];
|
|
49430
|
-
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
49431
|
-
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
49432
|
-
if (typeof untrustedConfig_sortBy_item === 'string') {
|
|
49433
|
-
untrustedConfig_sortBy_array.push(untrustedConfig_sortBy_item);
|
|
49434
|
-
}
|
|
49435
|
-
}
|
|
49436
|
-
config.sortBy = untrustedConfig_sortBy_array;
|
|
49437
|
-
}
|
|
48159
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
48160
|
+
listViewApiName: 0 /* String */,
|
|
48161
|
+
objectApiName: 0 /* String */,
|
|
48162
|
+
pageSize: 3 /* Integer */,
|
|
48163
|
+
pageToken: 0 /* String */,
|
|
48164
|
+
});
|
|
48165
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
48166
|
+
fields: 0 /* String */,
|
|
48167
|
+
optionalFields: 0 /* String */,
|
|
48168
|
+
sortBy: 0 /* String */,
|
|
48169
|
+
});
|
|
49438
48170
|
return config;
|
|
49439
48171
|
}
|
|
49440
48172
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -49656,90 +48388,33 @@ function createResourceRequest$9(config) {
|
|
|
49656
48388
|
}
|
|
49657
48389
|
|
|
49658
48390
|
function coerceConfig$5(config) {
|
|
49659
|
-
|
|
49660
|
-
|
|
49661
|
-
|
|
49662
|
-
|
|
49663
|
-
|
|
49664
|
-
|
|
49665
|
-
|
|
49666
|
-
|
|
49667
|
-
|
|
49668
|
-
|
|
49669
|
-
|
|
49670
|
-
coercedConfig.dependentFieldBindings = dependentFieldBindings;
|
|
49671
|
-
}
|
|
49672
|
-
const page = config.page;
|
|
49673
|
-
if (page !== undefined) {
|
|
49674
|
-
coercedConfig.page = page;
|
|
49675
|
-
}
|
|
49676
|
-
const pageSize = config.pageSize;
|
|
49677
|
-
if (pageSize !== undefined) {
|
|
49678
|
-
coercedConfig.pageSize = pageSize;
|
|
49679
|
-
}
|
|
49680
|
-
const q = config.q;
|
|
49681
|
-
if (q !== undefined) {
|
|
49682
|
-
coercedConfig.q = q;
|
|
49683
|
-
}
|
|
49684
|
-
const searchType = config.searchType;
|
|
49685
|
-
if (searchType !== undefined) {
|
|
49686
|
-
coercedConfig.searchType = searchType;
|
|
49687
|
-
}
|
|
49688
|
-
const sourceRecordId = config.sourceRecordId;
|
|
49689
|
-
if (sourceRecordId !== undefined) {
|
|
49690
|
-
coercedConfig.sourceRecordId = sourceRecordId;
|
|
49691
|
-
}
|
|
49692
|
-
const targetApiName = getObjectApiName$1(config.targetApiName);
|
|
49693
|
-
if (targetApiName !== undefined) {
|
|
49694
|
-
coercedConfig.targetApiName = targetApiName;
|
|
49695
|
-
}
|
|
49696
|
-
return coercedConfig;
|
|
48391
|
+
return coerceConfig$E(config, {
|
|
48392
|
+
'fieldApiName': getFieldApiName,
|
|
48393
|
+
'objectApiName': 1,
|
|
48394
|
+
'dependentFieldBindings': 1,
|
|
48395
|
+
'page': 1,
|
|
48396
|
+
'pageSize': 1,
|
|
48397
|
+
'q': 1,
|
|
48398
|
+
'searchType': 1,
|
|
48399
|
+
'sourceRecordId': 1,
|
|
48400
|
+
'targetApiName': getObjectApiName$1,
|
|
48401
|
+
});
|
|
49697
48402
|
}
|
|
49698
48403
|
function typeCheckConfig$a(untrustedConfig) {
|
|
49699
48404
|
const config = {};
|
|
49700
|
-
|
|
49701
|
-
|
|
49702
|
-
|
|
49703
|
-
|
|
49704
|
-
|
|
49705
|
-
|
|
49706
|
-
|
|
49707
|
-
|
|
49708
|
-
|
|
49709
|
-
|
|
49710
|
-
|
|
49711
|
-
|
|
49712
|
-
|
|
49713
|
-
if (typeof untrustedConfig_dependentFieldBindings_item === 'string') {
|
|
49714
|
-
untrustedConfig_dependentFieldBindings_array.push(untrustedConfig_dependentFieldBindings_item);
|
|
49715
|
-
}
|
|
49716
|
-
}
|
|
49717
|
-
config.dependentFieldBindings = untrustedConfig_dependentFieldBindings_array;
|
|
49718
|
-
}
|
|
49719
|
-
const untrustedConfig_page = untrustedConfig.page;
|
|
49720
|
-
if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
|
|
49721
|
-
config.page = untrustedConfig_page;
|
|
49722
|
-
}
|
|
49723
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
49724
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
49725
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
49726
|
-
}
|
|
49727
|
-
const untrustedConfig_q = untrustedConfig.q;
|
|
49728
|
-
if (typeof untrustedConfig_q === 'string') {
|
|
49729
|
-
config.q = untrustedConfig_q;
|
|
49730
|
-
}
|
|
49731
|
-
const untrustedConfig_searchType = untrustedConfig.searchType;
|
|
49732
|
-
if (typeof untrustedConfig_searchType === 'string') {
|
|
49733
|
-
config.searchType = untrustedConfig_searchType;
|
|
49734
|
-
}
|
|
49735
|
-
const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
|
|
49736
|
-
if (typeof untrustedConfig_sourceRecordId === 'string') {
|
|
49737
|
-
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
49738
|
-
}
|
|
49739
|
-
const untrustedConfig_targetApiName = untrustedConfig.targetApiName;
|
|
49740
|
-
if (typeof untrustedConfig_targetApiName === 'string') {
|
|
49741
|
-
config.targetApiName = untrustedConfig_targetApiName;
|
|
49742
|
-
}
|
|
48405
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
48406
|
+
fieldApiName: 0 /* String */,
|
|
48407
|
+
objectApiName: 0 /* String */,
|
|
48408
|
+
page: 3 /* Integer */,
|
|
48409
|
+
pageSize: 3 /* Integer */,
|
|
48410
|
+
q: 0 /* String */,
|
|
48411
|
+
searchType: 0 /* String */,
|
|
48412
|
+
sourceRecordId: 0 /* String */,
|
|
48413
|
+
targetApiName: 0 /* String */,
|
|
48414
|
+
});
|
|
48415
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
48416
|
+
dependentFieldBindings: 0 /* String */,
|
|
48417
|
+
});
|
|
49743
48418
|
return config;
|
|
49744
48419
|
}
|
|
49745
48420
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -49946,30 +48621,14 @@ const updateRecordAvatar_ConfigPropertyNames = {
|
|
|
49946
48621
|
};
|
|
49947
48622
|
function typeCheckConfig$9(untrustedConfig) {
|
|
49948
48623
|
const config = {};
|
|
49949
|
-
|
|
49950
|
-
|
|
49951
|
-
|
|
49952
|
-
|
|
49953
|
-
|
|
49954
|
-
|
|
49955
|
-
|
|
49956
|
-
}
|
|
49957
|
-
const untrustedConfig_blueMasterId = untrustedConfig.blueMasterId;
|
|
49958
|
-
if (typeof untrustedConfig_blueMasterId === 'string') {
|
|
49959
|
-
config.blueMasterId = untrustedConfig_blueMasterId;
|
|
49960
|
-
}
|
|
49961
|
-
const untrustedConfig_externalId = untrustedConfig.externalId;
|
|
49962
|
-
if (typeof untrustedConfig_externalId === 'string') {
|
|
49963
|
-
config.externalId = untrustedConfig_externalId;
|
|
49964
|
-
}
|
|
49965
|
-
const untrustedConfig_photoUrl = untrustedConfig.photoUrl;
|
|
49966
|
-
if (typeof untrustedConfig_photoUrl === 'string') {
|
|
49967
|
-
config.photoUrl = untrustedConfig_photoUrl;
|
|
49968
|
-
}
|
|
49969
|
-
const untrustedConfig_profileName = untrustedConfig.profileName;
|
|
49970
|
-
if (typeof untrustedConfig_profileName === 'string') {
|
|
49971
|
-
config.profileName = untrustedConfig_profileName;
|
|
49972
|
-
}
|
|
48624
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
48625
|
+
recordId: 0 /* String */,
|
|
48626
|
+
actionType: 0 /* String */,
|
|
48627
|
+
blueMasterId: 0 /* String */,
|
|
48628
|
+
externalId: 0 /* String */,
|
|
48629
|
+
photoUrl: 0 /* String */,
|
|
48630
|
+
profileName: 0 /* String */,
|
|
48631
|
+
});
|
|
49973
48632
|
return config;
|
|
49974
48633
|
}
|
|
49975
48634
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -50622,50 +49281,23 @@ function createResourceParams$7(config) {
|
|
|
50622
49281
|
return resourceParams;
|
|
50623
49282
|
}
|
|
50624
49283
|
function coerceConfig$4(config) {
|
|
50625
|
-
|
|
50626
|
-
|
|
50627
|
-
|
|
50628
|
-
|
|
50629
|
-
|
|
50630
|
-
|
|
50631
|
-
if (formFactor !== undefined) {
|
|
50632
|
-
coercedConfig.formFactor = formFactor;
|
|
50633
|
-
}
|
|
50634
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
50635
|
-
if (optionalFields !== undefined) {
|
|
50636
|
-
coercedConfig.optionalFields = optionalFields;
|
|
50637
|
-
}
|
|
50638
|
-
const recordTypeId = getRecordId18(config.recordTypeId);
|
|
50639
|
-
if (recordTypeId !== undefined) {
|
|
50640
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
50641
|
-
}
|
|
50642
|
-
return coercedConfig;
|
|
49284
|
+
return coerceConfig$E(config, {
|
|
49285
|
+
'objectApiName': getObjectApiName$1,
|
|
49286
|
+
'formFactor': coerceFormFactor,
|
|
49287
|
+
'optionalFields': getFieldApiNamesArray,
|
|
49288
|
+
'recordTypeId': getRecordId18,
|
|
49289
|
+
});
|
|
50643
49290
|
}
|
|
50644
49291
|
function typeCheckConfig$8(untrustedConfig) {
|
|
50645
49292
|
const config = {};
|
|
50646
|
-
|
|
50647
|
-
|
|
50648
|
-
|
|
50649
|
-
|
|
50650
|
-
|
|
50651
|
-
|
|
50652
|
-
|
|
50653
|
-
}
|
|
50654
|
-
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
50655
|
-
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
50656
|
-
const untrustedConfig_optionalFields_array = [];
|
|
50657
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
50658
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
50659
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
50660
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
50661
|
-
}
|
|
50662
|
-
}
|
|
50663
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
50664
|
-
}
|
|
50665
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
50666
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
50667
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
50668
|
-
}
|
|
49293
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
49294
|
+
objectApiName: 0 /* String */,
|
|
49295
|
+
formFactor: 0 /* String */,
|
|
49296
|
+
recordTypeId: 0 /* String */,
|
|
49297
|
+
});
|
|
49298
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
49299
|
+
optionalFields: 0 /* String */,
|
|
49300
|
+
});
|
|
50669
49301
|
return config;
|
|
50670
49302
|
}
|
|
50671
49303
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -51340,42 +49972,21 @@ function createResourceParams$6(config) {
|
|
|
51340
49972
|
return resourceParams;
|
|
51341
49973
|
}
|
|
51342
49974
|
function coerceConfig$3(config) {
|
|
51343
|
-
|
|
51344
|
-
|
|
51345
|
-
|
|
51346
|
-
|
|
51347
|
-
}
|
|
51348
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
51349
|
-
if (optionalFields !== undefined) {
|
|
51350
|
-
coercedConfig.optionalFields = optionalFields;
|
|
51351
|
-
}
|
|
51352
|
-
const recordTypeId = config.recordTypeId;
|
|
51353
|
-
if (recordTypeId !== undefined) {
|
|
51354
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
51355
|
-
}
|
|
51356
|
-
return coercedConfig;
|
|
49975
|
+
return coerceConfig$E(config, {
|
|
49976
|
+
'recordId': getRecordId18,
|
|
49977
|
+
'optionalFields': getFieldApiNamesArray,
|
|
49978
|
+
'recordTypeId': 1,
|
|
49979
|
+
});
|
|
51357
49980
|
}
|
|
51358
49981
|
function typeCheckConfig$7(untrustedConfig) {
|
|
51359
49982
|
const config = {};
|
|
51360
|
-
|
|
51361
|
-
|
|
51362
|
-
|
|
51363
|
-
}
|
|
51364
|
-
|
|
51365
|
-
|
|
51366
|
-
|
|
51367
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
51368
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
51369
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
51370
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
51371
|
-
}
|
|
51372
|
-
}
|
|
51373
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
51374
|
-
}
|
|
51375
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
51376
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
51377
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
51378
|
-
}
|
|
49983
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
49984
|
+
recordId: 0 /* String */,
|
|
49985
|
+
recordTypeId: 0 /* String */,
|
|
49986
|
+
});
|
|
49987
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
49988
|
+
optionalFields: 0 /* String */,
|
|
49989
|
+
});
|
|
51379
49990
|
return config;
|
|
51380
49991
|
}
|
|
51381
49992
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -52056,42 +50667,21 @@ function createResourceParams$5(config) {
|
|
|
52056
50667
|
return resourceParams;
|
|
52057
50668
|
}
|
|
52058
50669
|
function coerceConfig$2(config) {
|
|
52059
|
-
|
|
52060
|
-
|
|
52061
|
-
|
|
52062
|
-
|
|
52063
|
-
}
|
|
52064
|
-
const optionalFields = getFieldApiNamesArray(config.optionalFields);
|
|
52065
|
-
if (optionalFields !== undefined) {
|
|
52066
|
-
coercedConfig.optionalFields = optionalFields;
|
|
52067
|
-
}
|
|
52068
|
-
const recordTypeId = config.recordTypeId;
|
|
52069
|
-
if (recordTypeId !== undefined) {
|
|
52070
|
-
coercedConfig.recordTypeId = recordTypeId;
|
|
52071
|
-
}
|
|
52072
|
-
return coercedConfig;
|
|
50670
|
+
return coerceConfig$E(config, {
|
|
50671
|
+
'objectApiName': getObjectApiName$1,
|
|
50672
|
+
'optionalFields': getFieldApiNamesArray,
|
|
50673
|
+
'recordTypeId': 1,
|
|
50674
|
+
});
|
|
52073
50675
|
}
|
|
52074
50676
|
function typeCheckConfig$6(untrustedConfig) {
|
|
52075
50677
|
const config = {};
|
|
52076
|
-
|
|
52077
|
-
|
|
52078
|
-
|
|
52079
|
-
}
|
|
52080
|
-
|
|
52081
|
-
|
|
52082
|
-
|
|
52083
|
-
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
52084
|
-
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
52085
|
-
if (typeof untrustedConfig_optionalFields_item === 'string') {
|
|
52086
|
-
untrustedConfig_optionalFields_array.push(untrustedConfig_optionalFields_item);
|
|
52087
|
-
}
|
|
52088
|
-
}
|
|
52089
|
-
config.optionalFields = untrustedConfig_optionalFields_array;
|
|
52090
|
-
}
|
|
52091
|
-
const untrustedConfig_recordTypeId = untrustedConfig.recordTypeId;
|
|
52092
|
-
if (typeof untrustedConfig_recordTypeId === 'string') {
|
|
52093
|
-
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
52094
|
-
}
|
|
50678
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
50679
|
+
objectApiName: 0 /* String */,
|
|
50680
|
+
recordTypeId: 0 /* String */,
|
|
50681
|
+
});
|
|
50682
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
50683
|
+
optionalFields: 0 /* String */,
|
|
50684
|
+
});
|
|
52095
50685
|
return config;
|
|
52096
50686
|
}
|
|
52097
50687
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -52406,19 +50996,15 @@ function createResourceParams$3(config) {
|
|
|
52406
50996
|
return resourceParams;
|
|
52407
50997
|
}
|
|
52408
50998
|
function coerceConfig$1(config) {
|
|
52409
|
-
|
|
52410
|
-
|
|
52411
|
-
|
|
52412
|
-
coercedConfig.recordId = recordId;
|
|
52413
|
-
}
|
|
52414
|
-
return coercedConfig;
|
|
50999
|
+
return coerceConfig$E(config, {
|
|
51000
|
+
'recordId': getRecordId18,
|
|
51001
|
+
});
|
|
52415
51002
|
}
|
|
52416
51003
|
function typeCheckConfig$5(untrustedConfig) {
|
|
52417
51004
|
const config = {};
|
|
52418
|
-
|
|
52419
|
-
|
|
52420
|
-
|
|
52421
|
-
}
|
|
51005
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
51006
|
+
recordId: 0 /* String */,
|
|
51007
|
+
});
|
|
52422
51008
|
return config;
|
|
52423
51009
|
}
|
|
52424
51010
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -52528,67 +51114,28 @@ function createResourceParams$2(config) {
|
|
|
52528
51114
|
return resourceParams;
|
|
52529
51115
|
}
|
|
52530
51116
|
function coerceConfig(config) {
|
|
52531
|
-
|
|
52532
|
-
|
|
52533
|
-
|
|
52534
|
-
|
|
52535
|
-
|
|
52536
|
-
|
|
52537
|
-
|
|
52538
|
-
|
|
52539
|
-
|
|
52540
|
-
|
|
52541
|
-
if (triggerUserEmail !== undefined) {
|
|
52542
|
-
coercedConfig.triggerUserEmail = triggerUserEmail;
|
|
52543
|
-
}
|
|
52544
|
-
const useDefaultRule = config.useDefaultRule;
|
|
52545
|
-
if (useDefaultRule !== undefined) {
|
|
52546
|
-
coercedConfig.useDefaultRule = useDefaultRule;
|
|
52547
|
-
}
|
|
52548
|
-
const allowSaveOnDuplicate = config.allowSaveOnDuplicate;
|
|
52549
|
-
if (allowSaveOnDuplicate !== undefined) {
|
|
52550
|
-
coercedConfig.allowSaveOnDuplicate = allowSaveOnDuplicate;
|
|
52551
|
-
}
|
|
52552
|
-
const apiName = config.apiName;
|
|
52553
|
-
if (apiName !== undefined) {
|
|
52554
|
-
coercedConfig.apiName = apiName;
|
|
52555
|
-
}
|
|
52556
|
-
const fields = config.fields;
|
|
52557
|
-
if (fields !== undefined) {
|
|
52558
|
-
coercedConfig.fields = fields;
|
|
52559
|
-
}
|
|
52560
|
-
const ifUnmodifiedSince = config.ifUnmodifiedSince;
|
|
52561
|
-
if (ifUnmodifiedSince !== undefined) {
|
|
52562
|
-
coercedConfig.ifUnmodifiedSince = ifUnmodifiedSince;
|
|
52563
|
-
}
|
|
52564
|
-
return coercedConfig;
|
|
51117
|
+
return coerceConfig$E(config, {
|
|
51118
|
+
'recordId': getRecordId18,
|
|
51119
|
+
'triggerOtherEmail': 1,
|
|
51120
|
+
'triggerUserEmail': 1,
|
|
51121
|
+
'useDefaultRule': 1,
|
|
51122
|
+
'allowSaveOnDuplicate': 1,
|
|
51123
|
+
'apiName': 1,
|
|
51124
|
+
'fields': 1,
|
|
51125
|
+
'ifUnmodifiedSince': 1,
|
|
51126
|
+
});
|
|
52565
51127
|
}
|
|
52566
51128
|
function typeCheckConfig$4(untrustedConfig) {
|
|
52567
51129
|
const config = {};
|
|
52568
|
-
|
|
52569
|
-
|
|
52570
|
-
|
|
52571
|
-
|
|
52572
|
-
|
|
52573
|
-
|
|
52574
|
-
|
|
52575
|
-
|
|
52576
|
-
|
|
52577
|
-
if (typeof untrustedConfig_triggerUserEmail === 'boolean') {
|
|
52578
|
-
config.triggerUserEmail = untrustedConfig_triggerUserEmail;
|
|
52579
|
-
}
|
|
52580
|
-
const untrustedConfig_useDefaultRule = untrustedConfig.useDefaultRule;
|
|
52581
|
-
if (typeof untrustedConfig_useDefaultRule === 'boolean') {
|
|
52582
|
-
config.useDefaultRule = untrustedConfig_useDefaultRule;
|
|
52583
|
-
}
|
|
52584
|
-
const untrustedConfig_allowSaveOnDuplicate = untrustedConfig.allowSaveOnDuplicate;
|
|
52585
|
-
if (typeof untrustedConfig_allowSaveOnDuplicate === 'boolean') {
|
|
52586
|
-
config.allowSaveOnDuplicate = untrustedConfig_allowSaveOnDuplicate;
|
|
52587
|
-
}
|
|
52588
|
-
const untrustedConfig_apiName = untrustedConfig.apiName;
|
|
52589
|
-
if (typeof untrustedConfig_apiName === 'string') {
|
|
52590
|
-
config.apiName = untrustedConfig_apiName;
|
|
52591
|
-
}
|
|
51130
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
51131
|
+
recordId: 0 /* String */,
|
|
51132
|
+
triggerOtherEmail: 1 /* Boolean */,
|
|
51133
|
+
triggerUserEmail: 1 /* Boolean */,
|
|
51134
|
+
useDefaultRule: 1 /* Boolean */,
|
|
51135
|
+
allowSaveOnDuplicate: 1 /* Boolean */,
|
|
51136
|
+
apiName: 0 /* String */,
|
|
51137
|
+
ifUnmodifiedSince: 0 /* String */,
|
|
51138
|
+
});
|
|
52592
51139
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
52593
51140
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
52594
51141
|
const untrustedConfig_fields_object = {};
|
|
@@ -52621,10 +51168,6 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
52621
51168
|
config.fields = untrustedConfig_fields_object;
|
|
52622
51169
|
}
|
|
52623
51170
|
}
|
|
52624
|
-
const untrustedConfig_ifUnmodifiedSince = untrustedConfig.ifUnmodifiedSince;
|
|
52625
|
-
if (typeof untrustedConfig_ifUnmodifiedSince === 'string') {
|
|
52626
|
-
config.ifUnmodifiedSince = untrustedConfig_ifUnmodifiedSince;
|
|
52627
|
-
}
|
|
52628
51171
|
return config;
|
|
52629
51172
|
}
|
|
52630
51173
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -53070,14 +51613,10 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
53070
51613
|
|
|
53071
51614
|
function typeCheckConfig$3(untrustedConfig) {
|
|
53072
51615
|
const config = {};
|
|
53073
|
-
|
|
53074
|
-
|
|
53075
|
-
|
|
53076
|
-
}
|
|
53077
|
-
const untrustedConfig_title = untrustedConfig.title;
|
|
53078
|
-
if (typeof untrustedConfig_title === 'string') {
|
|
53079
|
-
config.title = untrustedConfig_title;
|
|
53080
|
-
}
|
|
51616
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
51617
|
+
description: 0 /* String */,
|
|
51618
|
+
title: 0 /* String */,
|
|
51619
|
+
});
|
|
53081
51620
|
return config;
|
|
53082
51621
|
}
|
|
53083
51622
|
|
|
@@ -53150,18 +51689,11 @@ function createDispatchResourceRequestContext$1(requestContext) {
|
|
|
53150
51689
|
|
|
53151
51690
|
function typeCheckConfig$1(untrustedConfig) {
|
|
53152
51691
|
const config = {};
|
|
53153
|
-
|
|
53154
|
-
|
|
53155
|
-
|
|
53156
|
-
|
|
53157
|
-
|
|
53158
|
-
if (typeof untrustedConfig_description === 'string') {
|
|
53159
|
-
config.description = untrustedConfig_description;
|
|
53160
|
-
}
|
|
53161
|
-
const untrustedConfig_title = untrustedConfig.title;
|
|
53162
|
-
if (typeof untrustedConfig_title === 'string') {
|
|
53163
|
-
config.title = untrustedConfig_title;
|
|
53164
|
-
}
|
|
51692
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
51693
|
+
contentDocumentId: 0 /* String */,
|
|
51694
|
+
description: 0 /* String */,
|
|
51695
|
+
title: 0 /* String */,
|
|
51696
|
+
});
|
|
53165
51697
|
return config;
|
|
53166
51698
|
}
|
|
53167
51699
|
|