@salesforce/lds-adapters-platform-external-services 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/platform-external-services.js +18 -29
- package/package.json +1 -1
- package/sfdc/index.js +19 -30
|
@@ -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;
|
|
@@ -426,10 +426,9 @@ function keyBuilder$9(luvio, config) {
|
|
|
426
426
|
}
|
|
427
427
|
function typeCheckConfig$5(untrustedConfig) {
|
|
428
428
|
const config = {};
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
}
|
|
429
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
430
|
+
actionName: 0 /* String */,
|
|
431
|
+
});
|
|
433
432
|
return config;
|
|
434
433
|
}
|
|
435
434
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -770,18 +769,11 @@ function keyBuilder$7(luvio, config) {
|
|
|
770
769
|
}
|
|
771
770
|
function typeCheckConfig$4(untrustedConfig) {
|
|
772
771
|
const config = {};
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
if (typeof untrustedConfig_exampleData === 'string') {
|
|
779
|
-
config.exampleData = untrustedConfig_exampleData;
|
|
780
|
-
}
|
|
781
|
-
const untrustedConfig_mediaType = untrustedConfig.mediaType;
|
|
782
|
-
if (typeof untrustedConfig_mediaType === 'string') {
|
|
783
|
-
config.mediaType = untrustedConfig_mediaType;
|
|
784
|
-
}
|
|
772
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
773
|
+
version: 0 /* String */,
|
|
774
|
+
exampleData: 0 /* String */,
|
|
775
|
+
mediaType: 0 /* String */,
|
|
776
|
+
});
|
|
785
777
|
return config;
|
|
786
778
|
}
|
|
787
779
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -1180,10 +1172,9 @@ function keyBuilder$5(luvio, config) {
|
|
|
1180
1172
|
}
|
|
1181
1173
|
function typeCheckConfig$3(untrustedConfig) {
|
|
1182
1174
|
const config = {};
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
}
|
|
1175
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1176
|
+
version: 0 /* String */,
|
|
1177
|
+
});
|
|
1187
1178
|
const untrustedConfig_input = untrustedConfig.input;
|
|
1188
1179
|
const referenceOpenApiSpecInferenceInputRepresentationValidationError = validate$8(untrustedConfig_input);
|
|
1189
1180
|
if (referenceOpenApiSpecInferenceInputRepresentationValidationError === null) {
|
|
@@ -1859,10 +1850,9 @@ function createResourceParams$2(config) {
|
|
|
1859
1850
|
}
|
|
1860
1851
|
function typeCheckConfig$2(untrustedConfig) {
|
|
1861
1852
|
const config = {};
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
}
|
|
1853
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1854
|
+
schemaName: 0 /* String */,
|
|
1855
|
+
});
|
|
1866
1856
|
const untrustedConfig_schema = untrustedConfig.schema;
|
|
1867
1857
|
const referenceSchemaValidationInputRepresentationValidationError = validate$6(untrustedConfig_schema);
|
|
1868
1858
|
if (referenceSchemaValidationInputRepresentationValidationError === null) {
|
|
@@ -2550,10 +2540,9 @@ function keyBuilder(luvio, config) {
|
|
|
2550
2540
|
}
|
|
2551
2541
|
function typeCheckConfig(untrustedConfig) {
|
|
2552
2542
|
const config = {};
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
}
|
|
2543
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2544
|
+
registrationName: 0 /* String */,
|
|
2545
|
+
});
|
|
2557
2546
|
return config;
|
|
2558
2547
|
}
|
|
2559
2548
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-external-services",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.208.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "External Services Connect API Family",
|
|
6
6
|
"main": "dist/es/es2018/platform-external-services.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, typeCheckScalars, StoreKeyMap } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -436,10 +436,9 @@ function keyBuilder$9(luvio, config) {
|
|
|
436
436
|
}
|
|
437
437
|
function typeCheckConfig$5(untrustedConfig) {
|
|
438
438
|
const config = {};
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
}
|
|
439
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
440
|
+
actionName: 0 /* String */,
|
|
441
|
+
});
|
|
443
442
|
return config;
|
|
444
443
|
}
|
|
445
444
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -780,18 +779,11 @@ function keyBuilder$7(luvio, config) {
|
|
|
780
779
|
}
|
|
781
780
|
function typeCheckConfig$4(untrustedConfig) {
|
|
782
781
|
const config = {};
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
if (typeof untrustedConfig_exampleData === 'string') {
|
|
789
|
-
config.exampleData = untrustedConfig_exampleData;
|
|
790
|
-
}
|
|
791
|
-
const untrustedConfig_mediaType = untrustedConfig.mediaType;
|
|
792
|
-
if (typeof untrustedConfig_mediaType === 'string') {
|
|
793
|
-
config.mediaType = untrustedConfig_mediaType;
|
|
794
|
-
}
|
|
782
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
783
|
+
version: 0 /* String */,
|
|
784
|
+
exampleData: 0 /* String */,
|
|
785
|
+
mediaType: 0 /* String */,
|
|
786
|
+
});
|
|
795
787
|
return config;
|
|
796
788
|
}
|
|
797
789
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -1190,10 +1182,9 @@ function keyBuilder$5(luvio, config) {
|
|
|
1190
1182
|
}
|
|
1191
1183
|
function typeCheckConfig$3(untrustedConfig) {
|
|
1192
1184
|
const config = {};
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
}
|
|
1185
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1186
|
+
version: 0 /* String */,
|
|
1187
|
+
});
|
|
1197
1188
|
const untrustedConfig_input = untrustedConfig.input;
|
|
1198
1189
|
const referenceOpenApiSpecInferenceInputRepresentationValidationError = validate$8(untrustedConfig_input);
|
|
1199
1190
|
if (referenceOpenApiSpecInferenceInputRepresentationValidationError === null) {
|
|
@@ -1924,10 +1915,9 @@ function keyBuilder$1(luvio, config) {
|
|
|
1924
1915
|
}
|
|
1925
1916
|
function typeCheckConfig$1(untrustedConfig) {
|
|
1926
1917
|
const config = {};
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
}
|
|
1918
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1919
|
+
registrationName: 0 /* String */,
|
|
1920
|
+
});
|
|
1931
1921
|
return config;
|
|
1932
1922
|
}
|
|
1933
1923
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -2598,10 +2588,9 @@ function createResourceParams(config) {
|
|
|
2598
2588
|
}
|
|
2599
2589
|
function typeCheckConfig(untrustedConfig) {
|
|
2600
2590
|
const config = {};
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
}
|
|
2591
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2592
|
+
schemaName: 0 /* String */,
|
|
2593
|
+
});
|
|
2605
2594
|
const untrustedConfig_schema = untrustedConfig.schema;
|
|
2606
2595
|
const referenceSchemaValidationInputRepresentationValidationError = validate$2(untrustedConfig_schema);
|
|
2607
2596
|
if (referenceSchemaValidationInputRepresentationValidationError === null) {
|
|
@@ -2712,4 +2701,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2712
2701
|
});
|
|
2713
2702
|
|
|
2714
2703
|
export { getActionDetailsForService, getActionDetailsForService_imperative, getDataShape, getDataShape_imperative, getOpenApiSpec, getOpenApiSpec_imperative, getStatistics, getStatisticsForService, getStatisticsForService_imperative, getStatistics_imperative, validateSchema };
|
|
2715
|
-
// version: 1.
|
|
2704
|
+
// version: 1.208.0-027673bd6
|