@salesforce/lds-adapters-industries-actionplan 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/industries-actionplan.js +15 -33
- package/package.json +1 -1
- package/sfdc/index.js +16 -34
|
@@ -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;
|
|
@@ -265,26 +265,13 @@ function keyBuilder$4(luvio, config) {
|
|
|
265
265
|
}
|
|
266
266
|
function typeCheckConfig$2(untrustedConfig) {
|
|
267
267
|
const config = {};
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}
|
|
276
|
-
const untrustedConfig_order = untrustedConfig.order;
|
|
277
|
-
if (typeof untrustedConfig_order === 'string') {
|
|
278
|
-
config.order = untrustedConfig_order;
|
|
279
|
-
}
|
|
280
|
-
const untrustedConfig_orderingParam = untrustedConfig.orderingParam;
|
|
281
|
-
if (typeof untrustedConfig_orderingParam === 'string') {
|
|
282
|
-
config.orderingParam = untrustedConfig_orderingParam;
|
|
283
|
-
}
|
|
284
|
-
const untrustedConfig_targetId = untrustedConfig.targetId;
|
|
285
|
-
if (typeof untrustedConfig_targetId === 'string') {
|
|
286
|
-
config.targetId = untrustedConfig_targetId;
|
|
287
|
-
}
|
|
268
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
269
|
+
actionPlanType: 0 /* String */,
|
|
270
|
+
limit: 3 /* Integer */,
|
|
271
|
+
order: 0 /* String */,
|
|
272
|
+
orderingParam: 0 /* String */,
|
|
273
|
+
targetId: 0 /* String */,
|
|
274
|
+
});
|
|
288
275
|
return config;
|
|
289
276
|
}
|
|
290
277
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -704,14 +691,10 @@ function keyBuilder$2(luvio, config) {
|
|
|
704
691
|
}
|
|
705
692
|
function typeCheckConfig$1(untrustedConfig) {
|
|
706
693
|
const config = {};
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
}
|
|
711
|
-
const untrustedConfig_limit = untrustedConfig.limit;
|
|
712
|
-
if (typeof untrustedConfig_limit === 'number' && Math.floor(untrustedConfig_limit) === untrustedConfig_limit) {
|
|
713
|
-
config.limit = untrustedConfig_limit;
|
|
714
|
-
}
|
|
694
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
695
|
+
actionPlanId: 0 /* String */,
|
|
696
|
+
limit: 3 /* Integer */,
|
|
697
|
+
});
|
|
715
698
|
return config;
|
|
716
699
|
}
|
|
717
700
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -1005,10 +988,9 @@ function keyBuilder(luvio, config) {
|
|
|
1005
988
|
}
|
|
1006
989
|
function typeCheckConfig(untrustedConfig) {
|
|
1007
990
|
const config = {};
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
}
|
|
991
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
992
|
+
actionPlanId: 0 /* String */,
|
|
993
|
+
});
|
|
1012
994
|
return config;
|
|
1013
995
|
}
|
|
1014
996
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
package/package.json
CHANGED
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, typeCheckScalars, StoreKeyMap } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -401,14 +401,10 @@ function keyBuilder$4(luvio, config) {
|
|
|
401
401
|
}
|
|
402
402
|
function typeCheckConfig$2(untrustedConfig) {
|
|
403
403
|
const config = {};
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
}
|
|
408
|
-
const untrustedConfig_limit = untrustedConfig.limit;
|
|
409
|
-
if (typeof untrustedConfig_limit === 'number' && Math.floor(untrustedConfig_limit) === untrustedConfig_limit) {
|
|
410
|
-
config.limit = untrustedConfig_limit;
|
|
411
|
-
}
|
|
404
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
405
|
+
actionPlanId: 0 /* String */,
|
|
406
|
+
limit: 3 /* Integer */,
|
|
407
|
+
});
|
|
412
408
|
return config;
|
|
413
409
|
}
|
|
414
410
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -702,10 +698,9 @@ function keyBuilder$2(luvio, config) {
|
|
|
702
698
|
}
|
|
703
699
|
function typeCheckConfig$1(untrustedConfig) {
|
|
704
700
|
const config = {};
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
}
|
|
701
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
702
|
+
actionPlanId: 0 /* String */,
|
|
703
|
+
});
|
|
709
704
|
return config;
|
|
710
705
|
}
|
|
711
706
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -999,26 +994,13 @@ function keyBuilder(luvio, config) {
|
|
|
999
994
|
}
|
|
1000
995
|
function typeCheckConfig(untrustedConfig) {
|
|
1001
996
|
const config = {};
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
}
|
|
1010
|
-
const untrustedConfig_order = untrustedConfig.order;
|
|
1011
|
-
if (typeof untrustedConfig_order === 'string') {
|
|
1012
|
-
config.order = untrustedConfig_order;
|
|
1013
|
-
}
|
|
1014
|
-
const untrustedConfig_orderingParam = untrustedConfig.orderingParam;
|
|
1015
|
-
if (typeof untrustedConfig_orderingParam === 'string') {
|
|
1016
|
-
config.orderingParam = untrustedConfig_orderingParam;
|
|
1017
|
-
}
|
|
1018
|
-
const untrustedConfig_targetId = untrustedConfig.targetId;
|
|
1019
|
-
if (typeof untrustedConfig_targetId === 'string') {
|
|
1020
|
-
config.targetId = untrustedConfig_targetId;
|
|
1021
|
-
}
|
|
997
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
998
|
+
actionPlanType: 0 /* String */,
|
|
999
|
+
limit: 3 /* Integer */,
|
|
1000
|
+
order: 0 /* String */,
|
|
1001
|
+
orderingParam: 0 /* String */,
|
|
1002
|
+
targetId: 0 /* String */,
|
|
1003
|
+
});
|
|
1022
1004
|
return config;
|
|
1023
1005
|
}
|
|
1024
1006
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -1144,4 +1126,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1144
1126
|
});
|
|
1145
1127
|
|
|
1146
1128
|
export { getActionPlanItems, getActionPlanItems_imperative, getActionPlanStatusInfo, getActionPlanStatusInfo_imperative, getActionPlans, getActionPlans_imperative };
|
|
1147
|
-
// version: 1.
|
|
1129
|
+
// version: 1.208.0-027673bd6
|