@salesforce/lds-adapters-community-microbatching 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, StoreKeyMap, typeCheckScalars } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -239,10 +239,9 @@ function createResourceParams(config) {
|
|
|
239
239
|
}
|
|
240
240
|
function typeCheckConfig(untrustedConfig) {
|
|
241
241
|
const config = {};
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
242
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
243
|
+
communityId: 0 /* String */,
|
|
244
|
+
});
|
|
246
245
|
const untrustedConfig_requestIngestionInput = untrustedConfig.requestIngestionInput;
|
|
247
246
|
const referenceMicrobatchingIngestionInputRepresentationValidationError = validate$1(untrustedConfig_requestIngestionInput);
|
|
248
247
|
if (referenceMicrobatchingIngestionInputRepresentationValidationError === null) {
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
16
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from 'force/luvioEngine';
|
|
16
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from 'force/luvioEngine';
|
|
17
17
|
|
|
18
18
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
19
19
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -248,10 +248,9 @@ function createResourceParams(config) {
|
|
|
248
248
|
}
|
|
249
249
|
function typeCheckConfig(untrustedConfig) {
|
|
250
250
|
const config = {};
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
}
|
|
251
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
252
|
+
communityId: 0 /* String */,
|
|
253
|
+
});
|
|
255
254
|
const untrustedConfig_requestIngestionInput = untrustedConfig.requestIngestionInput;
|
|
256
255
|
const referenceMicrobatchingIngestionInputRepresentationValidationError = validate$1(untrustedConfig_requestIngestionInput);
|
|
257
256
|
if (referenceMicrobatchingIngestionInputRepresentationValidationError === null) {
|
|
@@ -319,4 +318,4 @@ withDefaultLuvio((luvio) => {
|
|
|
319
318
|
});
|
|
320
319
|
|
|
321
320
|
export { ingestRecord };
|
|
322
|
-
// version: 1.
|
|
321
|
+
// version: 1.208.0-027673bd6
|