@salesforce/lds-adapters-cms-orchestrator 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/cms-orchestrator.js +12 -21
- package/package.json +1 -1
- package/sfdc/index.js +13 -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, create: ObjectCreate } = Object;
|
|
@@ -521,18 +521,11 @@ function keyBuilder$5(luvio, config) {
|
|
|
521
521
|
}
|
|
522
522
|
function typeCheckConfig$3(untrustedConfig) {
|
|
523
523
|
const config = {};
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
|
|
530
|
-
config.page = untrustedConfig_page;
|
|
531
|
-
}
|
|
532
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
533
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
534
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
535
|
-
}
|
|
524
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
525
|
+
managedContentVariantId: 0 /* String */,
|
|
526
|
+
page: 3 /* Integer */,
|
|
527
|
+
pageSize: 3 /* Integer */,
|
|
528
|
+
});
|
|
536
529
|
return config;
|
|
537
530
|
}
|
|
538
531
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -938,10 +931,9 @@ function keyBuilder$2(luvio, config) {
|
|
|
938
931
|
}
|
|
939
932
|
function typeCheckConfig$2(untrustedConfig) {
|
|
940
933
|
const config = {};
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
}
|
|
934
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
935
|
+
managedContentVariantId: 0 /* String */,
|
|
936
|
+
});
|
|
945
937
|
return config;
|
|
946
938
|
}
|
|
947
939
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -1701,10 +1693,9 @@ function keyBuilder(luvio, config) {
|
|
|
1701
1693
|
}
|
|
1702
1694
|
function typeCheckConfig(untrustedConfig) {
|
|
1703
1695
|
const config = {};
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
}
|
|
1696
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1697
|
+
managedContentVariantId: 0 /* String */,
|
|
1698
|
+
});
|
|
1708
1699
|
return config;
|
|
1709
1700
|
}
|
|
1710
1701
|
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, StoreKeyMap, typeCheckScalars } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -784,18 +784,11 @@ function keyBuilder$4(luvio, config) {
|
|
|
784
784
|
}
|
|
785
785
|
function typeCheckConfig$2(untrustedConfig) {
|
|
786
786
|
const config = {};
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
|
|
793
|
-
config.page = untrustedConfig_page;
|
|
794
|
-
}
|
|
795
|
-
const untrustedConfig_pageSize = untrustedConfig.pageSize;
|
|
796
|
-
if (typeof untrustedConfig_pageSize === 'number' && Math.floor(untrustedConfig_pageSize) === untrustedConfig_pageSize) {
|
|
797
|
-
config.pageSize = untrustedConfig_pageSize;
|
|
798
|
-
}
|
|
787
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
788
|
+
managedContentVariantId: 0 /* String */,
|
|
789
|
+
page: 3 /* Integer */,
|
|
790
|
+
pageSize: 3 /* Integer */,
|
|
791
|
+
});
|
|
799
792
|
return config;
|
|
800
793
|
}
|
|
801
794
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -1070,10 +1063,9 @@ function keyBuilder$2(luvio, config) {
|
|
|
1070
1063
|
}
|
|
1071
1064
|
function typeCheckConfig$1(untrustedConfig) {
|
|
1072
1065
|
const config = {};
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
}
|
|
1066
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1067
|
+
managedContentVariantId: 0 /* String */,
|
|
1068
|
+
});
|
|
1077
1069
|
return config;
|
|
1078
1070
|
}
|
|
1079
1071
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -1711,10 +1703,9 @@ function keyBuilder(luvio, config) {
|
|
|
1711
1703
|
}
|
|
1712
1704
|
function typeCheckConfig(untrustedConfig) {
|
|
1713
1705
|
const config = {};
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
}
|
|
1706
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1707
|
+
managedContentVariantId: 0 /* String */,
|
|
1708
|
+
});
|
|
1718
1709
|
return config;
|
|
1719
1710
|
}
|
|
1720
1711
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -1846,4 +1837,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1846
1837
|
});
|
|
1847
1838
|
|
|
1848
1839
|
export { createManagedContentOrchestrationInstance, getManagedContentOrchestrationDefinitions, getManagedContentOrchestrationDefinitions_imperative, getManagedContentOrchestrationInstances, getManagedContentOrchestrationInstances_imperative, getManagedContentRunningOrchestrationHistoryEvents, getManagedContentRunningOrchestrationHistoryEvents_imperative };
|
|
1849
|
-
// version: 1.
|
|
1840
|
+
// version: 1.208.0-027673bd6
|