@salesforce/lwc-adapters-uiapi 1.259.0 → 1.261.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/main.js +10 -7
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -31853,7 +31853,7 @@ function createResourceRequest$v(config) {
|
|
|
31853
31853
|
|
|
31854
31854
|
const adapterName$q = 'getRelatedListsCount';
|
|
31855
31855
|
const getRelatedListsCount_ConfigPropertyMetadata = [
|
|
31856
|
-
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String
|
|
31856
|
+
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
31857
31857
|
generateParamConfigMetadata('relatedListNames', true, 0 /* UrlParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
31858
31858
|
generateParamConfigMetadata('maxCount', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
31859
31859
|
];
|
|
@@ -31942,7 +31942,7 @@ const getRelatedListsCountAdapterFactory = (luvio) => function UiApi__getRelated
|
|
|
31942
31942
|
|
|
31943
31943
|
const adapterName$p = 'getRelatedListCount';
|
|
31944
31944
|
const getRelatedListCount_ConfigPropertyMetadata = [
|
|
31945
|
-
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String
|
|
31945
|
+
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
31946
31946
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
31947
31947
|
generateParamConfigMetadata('maxCount', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
31948
31948
|
];
|
|
@@ -31964,7 +31964,8 @@ function validateAdapterConfig$u(untrustedConfig, configPropertyNames) {
|
|
|
31964
31964
|
if (process.env.NODE_ENV !== 'production') {
|
|
31965
31965
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
31966
31966
|
}
|
|
31967
|
-
const
|
|
31967
|
+
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListCount_ConfigPropertyMetadata);
|
|
31968
|
+
const config = typeCheckConfig$u(coercedConfig);
|
|
31968
31969
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
31969
31970
|
return null;
|
|
31970
31971
|
}
|
|
@@ -35202,7 +35203,7 @@ function createResourceRequest$m(config) {
|
|
|
35202
35203
|
|
|
35203
35204
|
const adapterName$h = 'getRelatedListRecordsBatch';
|
|
35204
35205
|
const getRelatedListRecordsBatch_ConfigPropertyMetadata = [
|
|
35205
|
-
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String
|
|
35206
|
+
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
35206
35207
|
generateParamConfigMetadata('relatedListParameters', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
35207
35208
|
];
|
|
35208
35209
|
const getRelatedListRecordsBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getRelatedListRecordsBatch_ConfigPropertyMetadata);
|
|
@@ -35235,7 +35236,8 @@ function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
|
|
|
35235
35236
|
if (process.env.NODE_ENV !== 'production') {
|
|
35236
35237
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
35237
35238
|
}
|
|
35238
|
-
const
|
|
35239
|
+
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListRecordsBatch_ConfigPropertyMetadata);
|
|
35240
|
+
const config = typeCheckConfig$m(coercedConfig);
|
|
35239
35241
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
35240
35242
|
return null;
|
|
35241
35243
|
}
|
|
@@ -35301,7 +35303,7 @@ const getRelatedListRecordsBatchAdapterFactory = (luvio) => function UiApi__getR
|
|
|
35301
35303
|
|
|
35302
35304
|
const adapterName$g = 'getRelatedListRecords';
|
|
35303
35305
|
const getRelatedListRecords_ConfigPropertyMetadata = [
|
|
35304
|
-
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String
|
|
35306
|
+
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
35305
35307
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
35306
35308
|
generateParamConfigMetadata('fields', false, 2 /* Body */, 0 /* String */, true),
|
|
35307
35309
|
generateParamConfigMetadata('optionalFields', false, 2 /* Body */, 0 /* String */, true),
|
|
@@ -35328,7 +35330,8 @@ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
|
35328
35330
|
if (process.env.NODE_ENV !== 'production') {
|
|
35329
35331
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
35330
35332
|
}
|
|
35331
|
-
const
|
|
35333
|
+
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListRecords_ConfigPropertyMetadata);
|
|
35334
|
+
const config = typeCheckConfig$l(coercedConfig);
|
|
35332
35335
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
35333
35336
|
return null;
|
|
35334
35337
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lwc-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.261.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "UIAPI adapters with LWC bindings",
|
|
6
6
|
"module": "dist/main.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"clean": "rm -rf dist src/generated"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
34
|
+
"@salesforce/lds-adapters-uiapi": "^1.261.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@luvio/lwc-luvio": "0.154.4",
|
|
38
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
38
|
+
"@salesforce/lds-default-luvio": "^1.261.0"
|
|
39
39
|
}
|
|
40
40
|
}
|