@salesforce/lds-adapters-industries-actionablelist 1.207.0 → 1.208.1
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/industries-actionablelist.js +10 -21
- package/package.json +1 -1
- package/sfdc/index.js +11 -22
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, deepFreeze, typeCheckScalars, StoreKeyMap } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -874,22 +874,12 @@ function keyBuilder$7(luvio, config) {
|
|
|
874
874
|
}
|
|
875
875
|
function typeCheckConfig$5(untrustedConfig) {
|
|
876
876
|
const config = {};
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
config.isActive = untrustedConfig_isActive;
|
|
884
|
-
}
|
|
885
|
-
const untrustedConfig_limit = untrustedConfig.limit;
|
|
886
|
-
if (typeof untrustedConfig_limit === 'number' && Math.floor(untrustedConfig_limit) === untrustedConfig_limit) {
|
|
887
|
-
config.limit = untrustedConfig_limit;
|
|
888
|
-
}
|
|
889
|
-
const untrustedConfig_offset = untrustedConfig.offset;
|
|
890
|
-
if (typeof untrustedConfig_offset === 'number' && Math.floor(untrustedConfig_offset) === untrustedConfig_offset) {
|
|
891
|
-
config.offset = untrustedConfig_offset;
|
|
892
|
-
}
|
|
877
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
878
|
+
id: 0 /* String */,
|
|
879
|
+
isActive: 1 /* Boolean */,
|
|
880
|
+
limit: 3 /* Integer */,
|
|
881
|
+
offset: 3 /* Integer */,
|
|
882
|
+
});
|
|
893
883
|
return config;
|
|
894
884
|
}
|
|
895
885
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -1787,10 +1777,9 @@ function keyBuilder$3(luvio, config) {
|
|
|
1787
1777
|
}
|
|
1788
1778
|
function typeCheckConfig$2(untrustedConfig) {
|
|
1789
1779
|
const config = {};
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
}
|
|
1780
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1781
|
+
id: 0 /* String */,
|
|
1782
|
+
});
|
|
1794
1783
|
return config;
|
|
1795
1784
|
}
|
|
1796
1785
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-actionablelist",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.208.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapter for actionable list connect APIs",
|
|
6
6
|
"main": "dist/es/es2018/industries-actionablelist.js",
|
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -2242,22 +2242,12 @@ function keyBuilder$4(luvio, config) {
|
|
|
2242
2242
|
}
|
|
2243
2243
|
function typeCheckConfig$3(untrustedConfig) {
|
|
2244
2244
|
const config = {};
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
config.isActive = untrustedConfig_isActive;
|
|
2252
|
-
}
|
|
2253
|
-
const untrustedConfig_limit = untrustedConfig.limit;
|
|
2254
|
-
if (typeof untrustedConfig_limit === 'number' && Math.floor(untrustedConfig_limit) === untrustedConfig_limit) {
|
|
2255
|
-
config.limit = untrustedConfig_limit;
|
|
2256
|
-
}
|
|
2257
|
-
const untrustedConfig_offset = untrustedConfig.offset;
|
|
2258
|
-
if (typeof untrustedConfig_offset === 'number' && Math.floor(untrustedConfig_offset) === untrustedConfig_offset) {
|
|
2259
|
-
config.offset = untrustedConfig_offset;
|
|
2260
|
-
}
|
|
2245
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2246
|
+
id: 0 /* String */,
|
|
2247
|
+
isActive: 1 /* Boolean */,
|
|
2248
|
+
limit: 3 /* Integer */,
|
|
2249
|
+
offset: 3 /* Integer */,
|
|
2250
|
+
});
|
|
2261
2251
|
return config;
|
|
2262
2252
|
}
|
|
2263
2253
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -2511,10 +2501,9 @@ function keyBuilder$2(luvio, config) {
|
|
|
2511
2501
|
}
|
|
2512
2502
|
function typeCheckConfig$2(untrustedConfig) {
|
|
2513
2503
|
const config = {};
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
}
|
|
2504
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2505
|
+
id: 0 /* String */,
|
|
2506
|
+
});
|
|
2518
2507
|
return config;
|
|
2519
2508
|
}
|
|
2520
2509
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -3515,4 +3504,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3515
3504
|
});
|
|
3516
3505
|
|
|
3517
3506
|
export { createActionableListDefinition, getActionableListDatasetInfo, getActionableListDatasetInfo_imperative, getActionableListDefinitions, getActionableListDefinitions_imperative, getActionableListMembers, getActionableListMembers_imperative, upsertActionableList, upsertActionableListDatasetColumnUser };
|
|
3518
|
-
// version: 1.
|
|
3507
|
+
// version: 1.208.1-9aaa359ad
|