@salesforce/lds-adapters-industries-externaldocument 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.
|
@@ -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;
|
|
@@ -229,14 +229,10 @@ function keyBuilder$4(luvio, config) {
|
|
|
229
229
|
}
|
|
230
230
|
function typeCheckConfig$3(untrustedConfig) {
|
|
231
231
|
const config = {};
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
const untrustedConfig_refObjectId = untrustedConfig.refObjectId;
|
|
237
|
-
if (typeof untrustedConfig_refObjectId === 'string') {
|
|
238
|
-
config.refObjectId = untrustedConfig_refObjectId;
|
|
239
|
-
}
|
|
232
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
233
|
+
externalDocumentId: 0 /* String */,
|
|
234
|
+
refObjectId: 0 /* String */,
|
|
235
|
+
});
|
|
240
236
|
return config;
|
|
241
237
|
}
|
|
242
238
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -968,14 +964,10 @@ function keyBuilder(luvio, config) {
|
|
|
968
964
|
}
|
|
969
965
|
function typeCheckConfig(untrustedConfig) {
|
|
970
966
|
const config = {};
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
}
|
|
975
|
-
const untrustedConfig_startsWith = untrustedConfig.startsWith;
|
|
976
|
-
if (typeof untrustedConfig_startsWith === 'string') {
|
|
977
|
-
config.startsWith = untrustedConfig_startsWith;
|
|
978
|
-
}
|
|
967
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
968
|
+
externalDocumentId: 0 /* String */,
|
|
969
|
+
startsWith: 0 /* String */,
|
|
970
|
+
});
|
|
979
971
|
return config;
|
|
980
972
|
}
|
|
981
973
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-externaldocument",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.208.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "This External Document API family will allow to create, edit or read the information about the document which is present in the external editor outside Salesforce. ",
|
|
6
6
|
"main": "dist/es/es2018/industries-externaldocument.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, create: ObjectCreate } = Object;
|
|
@@ -468,14 +468,10 @@ function keyBuilder$3(luvio, config) {
|
|
|
468
468
|
}
|
|
469
469
|
function typeCheckConfig$2(untrustedConfig) {
|
|
470
470
|
const config = {};
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
}
|
|
475
|
-
const untrustedConfig_refObjectId = untrustedConfig.refObjectId;
|
|
476
|
-
if (typeof untrustedConfig_refObjectId === 'string') {
|
|
477
|
-
config.refObjectId = untrustedConfig_refObjectId;
|
|
478
|
-
}
|
|
471
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
472
|
+
externalDocumentId: 0 /* String */,
|
|
473
|
+
refObjectId: 0 /* String */,
|
|
474
|
+
});
|
|
479
475
|
return config;
|
|
480
476
|
}
|
|
481
477
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -757,14 +753,10 @@ function keyBuilder$1(luvio, config) {
|
|
|
757
753
|
}
|
|
758
754
|
function typeCheckConfig$1(untrustedConfig) {
|
|
759
755
|
const config = {};
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
}
|
|
764
|
-
const untrustedConfig_startsWith = untrustedConfig.startsWith;
|
|
765
|
-
if (typeof untrustedConfig_startsWith === 'string') {
|
|
766
|
-
config.startsWith = untrustedConfig_startsWith;
|
|
767
|
-
}
|
|
756
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
757
|
+
externalDocumentId: 0 /* String */,
|
|
758
|
+
startsWith: 0 /* String */,
|
|
759
|
+
});
|
|
768
760
|
return config;
|
|
769
761
|
}
|
|
770
762
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -1112,4 +1104,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1112
1104
|
});
|
|
1113
1105
|
|
|
1114
1106
|
export { createExternalDocument, getExternalDocument, getExternalDocumentUsers, getExternalDocumentUsers_imperative, getExternalDocument_imperative, saveExternalDocument };
|
|
1115
|
-
// version: 1.
|
|
1107
|
+
// version: 1.208.0-027673bd6
|