@salesforce/lds-adapters-platform-flow 1.363.0 → 1.365.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.
|
@@ -218,7 +218,7 @@ const startFlowAdapterFactory = (luvio) => function flowRuntime__startFlow(untru
|
|
|
218
218
|
};
|
|
219
219
|
|
|
220
220
|
function keyBuilder$1(luvio, params) {
|
|
221
|
-
return keyPrefix + '::FlowRuntimeResponseRepresentation:(' + 'request.action:' + params.body.request.action + '::' + 'request.serializedState:' + params.body.request.serializedState + '::' + (params.body.request.fields === undefined ? undefined : ('[' + params.body.request.fields.map(element => 'request.fields.field:' + element.field + '::' + (element.isVisible === undefined ? 'request.fields.isVisible' : 'request.fields.isVisible:' + element.isVisible) + '::' + (element.value === undefined ? 'request.fields.value' : 'request.fields.value:' + element.value)).join(',') + ']')) + '::' + (params.body.request.uiElementVisited === undefined ? 'request.uiElementVisited' : 'request.uiElementVisited:' + params.body.request.uiElementVisited) + '::' + (params.body.request.enableTrace === undefined ? 'request.enableTrace' : 'request.enableTrace:' + params.body.request.enableTrace) + '::' + stableJSONStringify(params.body.request.lcErrors) + ')';
|
|
221
|
+
return keyPrefix + '::FlowRuntimeResponseRepresentation:(' + 'request.action:' + params.body.request.action + '::' + 'request.serializedState:' + params.body.request.serializedState + '::' + (params.body.request.fields === undefined ? undefined : ('[' + params.body.request.fields.map(element => 'request.fields.field:' + element.field + '::' + (element.isVisible === undefined ? 'request.fields.isVisible' : 'request.fields.isVisible:' + element.isVisible) + '::' + (element.value === undefined ? 'request.fields.value' : 'request.fields.value:' + element.value)).join(',') + ']')) + '::' + (params.body.request.uiElementVisited === undefined ? 'request.uiElementVisited' : 'request.uiElementVisited:' + params.body.request.uiElementVisited) + '::' + (params.body.request.enableTrace === undefined ? 'request.enableTrace' : 'request.enableTrace:' + params.body.request.enableTrace) + '::' + stableJSONStringify(params.body.request.lcErrors) + '::' + (params.body.request.isBuilderDebug === undefined ? 'request.isBuilderDebug' : 'request.isBuilderDebug:' + params.body.request.isBuilderDebug) + ')';
|
|
222
222
|
}
|
|
223
223
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
224
224
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -338,6 +338,13 @@ function validate(obj, path = 'FlowRuntimeNavigateFlowRepresentation') {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
+
if (obj.isBuilderDebug !== undefined) {
|
|
342
|
+
const obj_isBuilderDebug = obj.isBuilderDebug;
|
|
343
|
+
const path_isBuilderDebug = path + '.isBuilderDebug';
|
|
344
|
+
if (typeof obj_isBuilderDebug !== 'boolean') {
|
|
345
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isBuilderDebug + '" (at "' + path_isBuilderDebug + '")');
|
|
346
|
+
}
|
|
347
|
+
}
|
|
341
348
|
if (obj.lcErrors !== undefined) {
|
|
342
349
|
const obj_lcErrors = obj.lcErrors;
|
|
343
350
|
const path_lcErrors = path + '.lcErrors';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FlowRuntimeNavigationFieldValue as FlowRuntimeNavigationFieldValue_FlowRuntimeNavigationFieldValue } from './FlowRuntimeNavigationFieldValue';
|
|
2
2
|
import { FlowRuntimeHashbagRepresentation as FlowRuntimeHashbagRepresentation_FlowRuntimeHashbagRepresentation } from './FlowRuntimeHashbagRepresentation';
|
|
3
3
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "b78dee11a3b739b1f84cfa4be369779e";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: FlowRuntimeNavigateFlowRepresentation, existing: FlowRuntimeNavigateFlowRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowRuntimeNavigateFlowRepresentationNormalized;
|
|
@@ -19,6 +19,7 @@ export interface FlowRuntimeNavigateFlowRepresentationNormalized {
|
|
|
19
19
|
action: string;
|
|
20
20
|
enableTrace?: boolean;
|
|
21
21
|
fields?: Array<FlowRuntimeNavigationFieldValue_FlowRuntimeNavigationFieldValue>;
|
|
22
|
+
isBuilderDebug?: boolean;
|
|
22
23
|
lcErrors?: FlowRuntimeHashbagRepresentation_FlowRuntimeHashbagRepresentation;
|
|
23
24
|
serializedState: string;
|
|
24
25
|
uiElementVisited?: boolean;
|
|
@@ -33,6 +34,7 @@ export interface FlowRuntimeNavigateFlowRepresentation {
|
|
|
33
34
|
action: string;
|
|
34
35
|
enableTrace?: boolean;
|
|
35
36
|
fields?: Array<FlowRuntimeNavigationFieldValue_FlowRuntimeNavigationFieldValue>;
|
|
37
|
+
isBuilderDebug?: boolean;
|
|
36
38
|
lcErrors?: FlowRuntimeHashbagRepresentation_FlowRuntimeHashbagRepresentation;
|
|
37
39
|
serializedState: string;
|
|
38
40
|
uiElementVisited?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-flow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.365.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Flow Runtime APIs",
|
|
6
6
|
"main": "dist/es/es2018/platform-flow.js",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-platform-flow"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@salesforce/lds-bindings": "^1.
|
|
40
|
+
"@salesforce/lds-bindings": "^1.365.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
44
|
-
"@salesforce/lds-karma": "^1.
|
|
43
|
+
"@salesforce/lds-compiler-plugins": "^1.365.0",
|
|
44
|
+
"@salesforce/lds-karma": "^1.365.0"
|
|
45
45
|
},
|
|
46
46
|
"nx": {
|
|
47
47
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -145,7 +145,7 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
function keyBuilder$2(luvio, params) {
|
|
148
|
-
return keyPrefix + '::FlowRuntimeResponseRepresentation:(' + 'request.action:' + params.body.request.action + '::' + 'request.serializedState:' + params.body.request.serializedState + '::' + (params.body.request.fields === undefined ? undefined : ('[' + params.body.request.fields.map(element => 'request.fields.field:' + element.field + '::' + (element.isVisible === undefined ? 'request.fields.isVisible' : 'request.fields.isVisible:' + element.isVisible) + '::' + (element.value === undefined ? 'request.fields.value' : 'request.fields.value:' + element.value)).join(',') + ']')) + '::' + (params.body.request.uiElementVisited === undefined ? 'request.uiElementVisited' : 'request.uiElementVisited:' + params.body.request.uiElementVisited) + '::' + (params.body.request.enableTrace === undefined ? 'request.enableTrace' : 'request.enableTrace:' + params.body.request.enableTrace) + '::' + stableJSONStringify(params.body.request.lcErrors) + ')';
|
|
148
|
+
return keyPrefix + '::FlowRuntimeResponseRepresentation:(' + 'request.action:' + params.body.request.action + '::' + 'request.serializedState:' + params.body.request.serializedState + '::' + (params.body.request.fields === undefined ? undefined : ('[' + params.body.request.fields.map(element => 'request.fields.field:' + element.field + '::' + (element.isVisible === undefined ? 'request.fields.isVisible' : 'request.fields.isVisible:' + element.isVisible) + '::' + (element.value === undefined ? 'request.fields.value' : 'request.fields.value:' + element.value)).join(',') + ']')) + '::' + (params.body.request.uiElementVisited === undefined ? 'request.uiElementVisited' : 'request.uiElementVisited:' + params.body.request.uiElementVisited) + '::' + (params.body.request.enableTrace === undefined ? 'request.enableTrace' : 'request.enableTrace:' + params.body.request.enableTrace) + '::' + stableJSONStringify(params.body.request.lcErrors) + '::' + (params.body.request.isBuilderDebug === undefined ? 'request.isBuilderDebug' : 'request.isBuilderDebug:' + params.body.request.isBuilderDebug) + ')';
|
|
149
149
|
}
|
|
150
150
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
151
151
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$2(luvio, resourceParams));
|
|
@@ -265,6 +265,13 @@ function validate(obj, path = 'FlowRuntimeNavigateFlowRepresentation') {
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
+
if (obj.isBuilderDebug !== undefined) {
|
|
269
|
+
const obj_isBuilderDebug = obj.isBuilderDebug;
|
|
270
|
+
const path_isBuilderDebug = path + '.isBuilderDebug';
|
|
271
|
+
if (typeof obj_isBuilderDebug !== 'boolean') {
|
|
272
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isBuilderDebug + '" (at "' + path_isBuilderDebug + '")');
|
|
273
|
+
}
|
|
274
|
+
}
|
|
268
275
|
if (obj.lcErrors !== undefined) {
|
|
269
276
|
const obj_lcErrors = obj.lcErrors;
|
|
270
277
|
const path_lcErrors = path + '.lcErrors';
|
|
@@ -525,4 +532,4 @@ withDefaultLuvio((luvio) => {
|
|
|
525
532
|
});
|
|
526
533
|
|
|
527
534
|
export { navigateFlow, resumeFlow, startFlow };
|
|
528
|
-
// version: 1.
|
|
535
|
+
// version: 1.365.0-4e4411f8a4
|